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