summaryrefslogtreecommitdiff
path: root/test/Parser/opencl-pragma.cl
diff options
context:
space:
mode:
Diffstat (limited to 'test/Parser/opencl-pragma.cl')
-rw-r--r--test/Parser/opencl-pragma.cl2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Parser/opencl-pragma.cl b/test/Parser/opencl-pragma.cl
index 4c48b2a496f78..b002b0854a4d0 100644
--- a/test/Parser/opencl-pragma.cl
+++ b/test/Parser/opencl-pragma.cl
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 %s -verify -pedantic -Wno-empty-translation-unit -fsyntax-only
+// RUN: %clang_cc1 %s -verify -pedantic -Wno-empty-translation-unit -fsyntax-only -triple spir-unknown-unknown
#pragma OPENCL EXTENSION cl_khr_fp16 : enable