2009-04-30 02:32:25 +08:00
|
|
|
// Verify that the analyzer gets the same flags as normal compilation
|
|
|
|
// (at least for a few key ones).
|
|
|
|
|
2012-01-21 06:01:23 +08:00
|
|
|
// RUN: env MACOSX_DEPLOYMENT_TARGET=10.5 %clang -target i386-apple-darwin9 -### --analyze -o /dev/null %s -msse 2> %t.log
|
2009-10-31 02:12:20 +08:00
|
|
|
// RUN: FileCheck --input-file=%t.log %s
|
2009-04-30 02:32:25 +08:00
|
|
|
|
2009-10-31 02:12:20 +08:00
|
|
|
// CHECK: "-analyze"
|
|
|
|
// CHECK: "-target-feature" "+sse"
|