Use -target instead of -arch in test case.

llvm-svn: 309640
This commit is contained in:
Akira Hatanaka 2017-07-31 23:08:52 +00:00
parent 6ff4412375
commit 011ed19c0f
1 changed files with 1 additions and 1 deletions

View 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