summaryrefslogtreecommitdiffstats
path: root/test/Headers
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2016-06-21 01:54:54 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2016-06-21 01:54:54 +0000
commitd6c78f11de25dcaf4fb26e5e45be481db7f70741 (patch)
tree567e01a6e5e43adba1296535b99f0d104f4f3844 /test/Headers
parent8081bfae11a8cb0d74aaa75b32a55187f24f3ed6 (diff)
clang/test/Headers/opencl-c-header.cl: Add explicit -triple x86_64-unknown to appease *-win32 targets.
<stdin>:9:25: note: possible intended match here %call = tail call i8 @"\01?convert_char_rte@@$$J0YADD@Z"(i8 %x) #2 ^ git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@273230 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Headers')
-rw-r--r--test/Headers/opencl-c-header.cl2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Headers/opencl-c-header.cl b/test/Headers/opencl-c-header.cl
index 1527a7c5e4..4ba3b27a72 100644
--- a/test/Headers/opencl-c-header.cl
+++ b/test/Headers/opencl-c-header.cl
@@ -27,7 +27,7 @@
// RUN: %clang_cc1 -triple nvptx64-unknown-unknown -internal-isystem ../../lib/Headers -include opencl-c.h -emit-llvm -o - %s -cl-std=CL1.2| FileCheck %s
// RUN: %clang_cc1 -triple nvptx64-unknown-unknown -internal-isystem ../../lib/Headers -include opencl-c.h -fblocks -emit-llvm -o - %s -cl-std=CL2.0| FileCheck --check-prefix=CHECK20 %s
-// RUN: %clang_cc1 -finclude-default-header -emit-llvm -o - %s | FileCheck %s
+// RUN: %clang_cc1 -triple x86_64-unknown-unknown -finclude-default-header -emit-llvm -o - %s | FileCheck %s
// CHECK: _Z16convert_char_rtec
// CHECK-NOT: _Z3ctzc
// CHECK20: _Z3ctzc