Daniel Dunbar | bc85be8 | 2009-04-29 18:32:25 +0000 | [diff] [blame] | 1 | // 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 Dunbar | 868bd0a | 2009-05-06 03:16:41 +0000 | [diff] [blame^] | 7 | // RUN: grep '"-target-feature" "+sse"' %t.log && |
Daniel Dunbar | bc85be8 | 2009-04-29 18:32:25 +0000 | [diff] [blame] | 8 | // RUN: grep '"-mmacosx-version-min=10.5.0"' %t.log |
| 9 | |