summaryrefslogtreecommitdiff
path: root/test/Driver/analyze.c
blob: f82199d356e4a5ec5374abd84cbc39300b3aa49e (plain)
1
2
3
4
5
6
7
8
9
// Verify that the analyzer gets the same flags as normal compilation
// (at least for a few key ones).

// RUN: clang -ccc-host-triple i386-apple-darwin9  -### --analyze -o /dev/null %s -msse 2> %t.log &&
// RUN: grep '"-analyze"' %t.log &&
// RUN: grep '"--fmath-errno=0"' %t.log &&
// RUN: grep '"--mattr" "+sse"' %t.log &&
// RUN: grep '"-mmacosx-version-min=10.5.0"' %t.log