summaryrefslogtreecommitdiffstats
path: root/test/Driver/analyze.c
blob: 03810688d1f75996cab88cb89fe79f20a7ebe96f (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: env MACOSX_DEPLOYMENT_TARGET=10.5 clang -ccc-host-triple 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"
// CHECK: "--fmath-errno=0"
OpenPOWER on IntegriCloud