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).
|
|
|
|
|
2009-06-17 23:41:17 +08:00
|
|
|
// RUN: env MACOSX_DEPLOYMENT_TARGET=10.5 clang -ccc-host-triple i386-apple-darwin9 -### --analyze -o /dev/null %s -msse 2> %t.log &&
|
2009-04-30 02:32:25 +08:00
|
|
|
// RUN: grep '"-analyze"' %t.log &&
|
|
|
|
// RUN: grep '"--fmath-errno=0"' %t.log &&
|
2009-05-06 11:16:41 +08:00
|
|
|
// RUN: grep '"-target-feature" "+sse"' %t.log &&
|
2009-06-17 07:37:56 +08:00
|
|
|
// RUN: grep '"-mmacosx-version-min=10.5"' %t.log
|
2009-04-30 02:32:25 +08:00
|
|
|
|