blob: 338c6148c1c37ec2b60616db38041e0e7d197eaf [file] [log] [blame]
Daniel Dunbarbc85be82009-04-29 18:32:25 +00001// Verify that the analyzer gets the same flags as normal compilation
2// (at least for a few key ones).
3
4// RUN: clang -ccc-host-triple i386-apple-darwin9 -### --analyze -o /dev/null %s -msse 2> %t.log &&
5// RUN: grep '"-analyze"' %t.log &&
6// RUN: grep '"--fmath-errno=0"' %t.log &&
Daniel Dunbar868bd0a2009-05-06 03:16:41 +00007// RUN: grep '"-target-feature" "+sse"' %t.log &&
Daniel Dunbarbc85be82009-04-29 18:32:25 +00008// RUN: grep '"-mmacosx-version-min=10.5.0"' %t.log
9