aboutsummaryrefslogtreecommitdiff
path: root/test/SemaOpenCL
diff options
context:
space:
mode:
authorJoey Gouly <joey.gouly@arm.com>2013-02-21 13:42:33 +0000
committerJoey Gouly <joey.gouly@arm.com>2013-02-21 13:42:33 +0000
commitff04dd4effe82ee81dd55a13c9e29cef67e77484 (patch)
tree318d9258f758730f54ed9bb3a2b9ae28e7f5e31f /test/SemaOpenCL
parentb965d8baf95a3d0dc781e0cc1f80c0676580b277 (diff)
Add a 64-bit triple to these tests, to fix 32-bit bots.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@175736 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/SemaOpenCL')
-rw-r--r--test/SemaOpenCL/invalid-logical-ops-1.1.cl2
-rw-r--r--test/SemaOpenCL/invalid-logical-ops-1.2.cl2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/SemaOpenCL/invalid-logical-ops-1.1.cl b/test/SemaOpenCL/invalid-logical-ops-1.1.cl
index 78b6a260aa..2269dd322b 100644
--- a/test/SemaOpenCL/invalid-logical-ops-1.1.cl
+++ b/test/SemaOpenCL/invalid-logical-ops-1.1.cl
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 %s -verify -cl-std=CL1.1
+// RUN: %clang_cc1 %s -verify -cl-std=CL1.1 -triple x86_64-unknown-linux-gnu
#pragma OPENCL EXTENSION cl_khr_fp64 : enable
typedef __attribute__((ext_vector_type(4))) float float4;
diff --git a/test/SemaOpenCL/invalid-logical-ops-1.2.cl b/test/SemaOpenCL/invalid-logical-ops-1.2.cl
index 404beb2d7d..7ba1adbf53 100644
--- a/test/SemaOpenCL/invalid-logical-ops-1.2.cl
+++ b/test/SemaOpenCL/invalid-logical-ops-1.2.cl
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 %s -verify -cl-std=CL1.2
+// RUN: %clang_cc1 %s -verify -cl-std=CL1.2 -triple x86_64-unknown-linux-gnu
#pragma OPENCL EXTENSION cl_khr_fp64 : enable
typedef __attribute__((ext_vector_type(4))) float float4;