summaryrefslogtreecommitdiffstats
path: root/test/Driver/darwin-version.c
diff options
context:
space:
mode:
authordim <dim@FreeBSD.org>2012-04-14 14:01:31 +0000
committerdim <dim@FreeBSD.org>2012-04-14 14:01:31 +0000
commit50b73317314e889cf39c7b1d6cbf419fa7502f22 (patch)
treebe1815eb79b42ff482a8562b13c2dcbf0c5dcbee /test/Driver/darwin-version.c
parentdc04cb328508e61aad809d9b53b12f9799a00e7d (diff)
downloadFreeBSD-src-50b73317314e889cf39c7b1d6cbf419fa7502f22.zip
FreeBSD-src-50b73317314e889cf39c7b1d6cbf419fa7502f22.tar.gz
Vendor import of clang trunk r154661:
http://llvm.org/svn/llvm-project/cfe/trunk@r154661
Diffstat (limited to 'test/Driver/darwin-version.c')
-rw-r--r--test/Driver/darwin-version.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/Driver/darwin-version.c b/test/Driver/darwin-version.c
index d9c5c5e..2478a99 100644
--- a/test/Driver/darwin-version.c
+++ b/test/Driver/darwin-version.c
@@ -1,5 +1,5 @@
// RUN: env MACOSX_DEPLOYMENT_TARGET=10.1 \
-// RUN: %clang -ccc-host-triple i386-apple-darwin9 -DTEST0 -E %s
+// RUN: %clang -target i386-apple-darwin9 -DTEST0 -E %s
#ifdef TEST0
#if __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ != 1010
#error Invalid version
@@ -7,7 +7,7 @@
#endif
// RUN: env IPHONEOS_DEPLOYMENT_TARGET=2.0 \
-// RUN: %clang -ccc-host-triple i386-apple-darwin9 -DTEST1 -E %s
+// RUN: %clang -target i386-apple-darwin9 -DTEST1 -E %s
#ifdef TEST1
#if __ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__ != 20000
#error Invalid version
@@ -15,7 +15,7 @@
#endif
// RUN: env IPHONEOS_DEPLOYMENT_TARGET=2.3.1 \
-// RUN: %clang -ccc-host-triple i386-apple-darwin9 -DTEST2 -E %s
+// RUN: %clang -target i386-apple-darwin9 -DTEST2 -E %s
#ifdef TEST2
#if __ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__ != 20301
#error Invalid version
@@ -23,7 +23,7 @@
#endif
// RUN: env MACOSX_DEPLOYMENT_TARGET=10.4.10 \
-// RUN: %clang -ccc-host-triple i386-apple-darwin9 -DTEST3 -E %s
+// RUN: %clang -target i386-apple-darwin9 -DTEST3 -E %s
#ifdef TEST3
#if __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ != 1049
#error Invalid version
OpenPOWER on IntegriCloud