Clang Project

clang_source_code/test/Driver/cc-print-options.c
1// RUN: env CC_PRINT_OPTIONS=1 \
2// RUN:     CC_PRINT_OPTIONS_FILE=%t.log \
3// RUN: %clang -no-canonical-prefixes -S -o %t.s %s
4// RUN: FileCheck %s < %t.log
5
6// CHECK: [Logging clang options]{{.*}}clang{{.*}}"-S"
7
8