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

// RUN: env MACOSX_DEPLOYMENT_TARGET=10.5 %clang -target i386-apple-darwin9  -### --analyze -o /dev/null %s -msse 2> %t.log
// RUN: FileCheck --input-file=%t.log %s

// CHECK: "-analyze"
// CHECK: "-target-feature" "+sse"