summaryrefslogtreecommitdiffstats
path: root/test/Coverage/codegen-next.m
diff options
context:
space:
mode:
Diffstat (limited to 'test/Coverage/codegen-next.m')
-rw-r--r--test/Coverage/codegen-next.m12
1 files changed, 10 insertions, 2 deletions
diff --git a/test/Coverage/codegen-next.m b/test/Coverage/codegen-next.m
index 8f6645d..7b907fe 100644
--- a/test/Coverage/codegen-next.m
+++ b/test/Coverage/codegen-next.m
@@ -1,4 +1,12 @@
-// RUN: %clang_cc1 -emit-llvm -fobjc-exceptions -o %t %s
-// RUN: %clang_cc1 -g -emit-llvm -fobjc-exceptions -o %t %s
+// RUN: %clang_cc1 -emit-llvm -fobjc-exceptions -triple x86_64-apple-darwin -o %t %s
+// RUN: %clang_cc1 -g -emit-llvm -fobjc-exceptions -triple x86_64-apple-darwin -o %t %s
+
+// An error could be seen for targeting x86_64-win32;
+//
+// Bitcast requires types of same width
+// %7 = bitcast i32 %6 to i64
+//
+// Then, This test should be excluded on x86_64-win32.
+// REQUIRES: LP64
#include "objc-language-features.inc"
OpenPOWER on IntegriCloud