llvm-for-llvmta/tools/clang/test/Driver/cc-print-options.c

9 lines
226 B
C
Raw Normal View History

2022-04-25 13:02:35 +02:00
// RUN: env CC_PRINT_OPTIONS=1 \
// RUN: CC_PRINT_OPTIONS_FILE=%t.log \
// RUN: %clang -no-canonical-prefixes -S -o %t.s %s
// RUN: FileCheck %s < %t.log
// CHECK: [Logging clang options]
// CHECK: {{.*}}clang{{.*}}"-S"