| 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 |