summaryrefslogtreecommitdiff
path: root/test/Driver/cc-print-options.c
blob: 77dd0fef5f983c8b1ca6524987d32f4561303199 (plain)
1
2
3
4
5
6
7
// 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]{{.*}}clang{{.*}}"-S"