xref: /aosp_15_r20/external/clang/test/Driver/cc-print-options.c (revision 67e74705e28f6214e480b399dd47ea732279e315)
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