]> granicus.if.org Git - clang/commitdiff
Use -target instead of -arch in test case.
authorAkira Hatanaka <ahatanaka@apple.com>
Mon, 31 Jul 2017 23:08:52 +0000 (23:08 +0000)
committerAkira Hatanaka <ahatanaka@apple.com>
Mon, 31 Jul 2017 23:08:52 +0000 (23:08 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@309640 91177308-0d34-0410-b5e6-96231b3b80d8

test/Driver/darwin-version.c

index 0205e093caaf38ab7150c26568e850bbbad1af20..3ff49aca6c0277531d7fa8263193ea2baaa0849b 100644 (file)
@@ -26,7 +26,7 @@
 
 // RUN: %clang -target armv7-apple-ios11.1 -c -### %s 2>&1 | \
 // RUN: FileCheck --check-prefix=CHECK-VERSION-IOS7 %s
-// RUN: %clang -arch armv7 -Wno-missing-sysroot -isysroot SDKs/iPhoneOS11.0.sdk -c -### %s 2>&1 | \
+// RUN: %clang -target armv7-apple-ios9 -Wno-missing-sysroot -isysroot SDKs/iPhoneOS11.0.sdk -c -### %s 2>&1 | \
 // RUN: FileCheck --check-prefix=CHECK-VERSION-IOS7 %s
 // CHECK-VERSION-IOS7: thumbv7-apple-ios10.99.99