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