xref: /minix3/external/bsd/llvm/dist/clang/test/Driver/analyze.c (revision 433d6423c39e34ec4b79c950597bb2d236f886be)
1 // Verify that the analyzer gets the same flags as normal compilation
2 // (at least for a few key ones).
3 
4 // RUN: env MACOSX_DEPLOYMENT_TARGET=10.5 %clang -target i386-apple-darwin9  -### --analyze -o /dev/null %s -msse 2> %t.log
5 // RUN: FileCheck --input-file=%t.log %s
6 
7 // CHECK: "-analyze"
8 // CHECK: "-target-feature" "+sse"
9