================
@@ -9,6 +10,8 @@
 // RUN: %clang -target x86_64-apple-darwin -Wincompatible-sysroot -isysroot 
SDKs/iPhoneSimulator9.2.sdk -mios-version-min=9.0 -S -o - %s 2>&1 | FileCheck 
-check-prefix CHECK-IOS-IOSSIM %s
 // RUN: %clang -target x86_64-apple-darwin -Wno-incompatible-sysroot -isysroot 
SDKs/MacOSX10.9.sdk -mios-version-min=9.0 -S -o - %s 2>&1 | FileCheck 
-check-prefix CHECK-OSX-IOS-DISABLED %s
 
+// RUN: %clang -target armv7k-apple-watchos6.0 -Wincompatible-sysroot 
-isysroot %S/Inputs/WatchOS6.0.sdk -S -o - %s 2>&1 | FileCheck -check-prefix 
CHECK-WATCHOS %s
+// RUN: %clang -target armv7-apple-watchos6.0 -Wincompatible-sysroot -isysroot 
%S/Inputs/WatchOS6.0.sdk -S -o - %s 2>&1 | FileCheck -check-prefix 
CHECK-WATCHOS-ARMV7 %s
----------------
ian-twilightcoder wrote:

New code: validate that armv7k doesn't trigger the warning but armv7 does.

https://github.com/llvm/llvm-project/pull/204061
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to