[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / Driver / cc-print-options.c
blob58375fa7327cce32e6faea4b1955943ee965e265
1 // RUN: rm -f %t.log
2 // RUN: env CC_PRINT_OPTIONS=1 \
3 // RUN: CC_PRINT_OPTIONS_FILE=%t.log \
4 // RUN: %clang -S -o %t.s %s
5 // RUN: FileCheck %s < %t.log
7 // RUN: rm -f %t.log
8 // RUN: env CC_PRINT_OPTIONS=1 \
9 // RUN: CC_PRINT_OPTIONS_FILE=%t.log \
10 // RUN: %clang -fdriver-only -o %t.s %s
11 // RUN: FileCheck %s < %t.log
13 // CHECK: [Logging clang options]
14 // CHECK: {{.*}} "-cc1"