aboutsummaryrefslogtreecommitdiff
path: root/test/SemaOpenCL/vector_swizzle_length.cl
diff options
context:
space:
mode:
Diffstat (limited to 'test/SemaOpenCL/vector_swizzle_length.cl')
-rw-r--r--test/SemaOpenCL/vector_swizzle_length.cl2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/SemaOpenCL/vector_swizzle_length.cl b/test/SemaOpenCL/vector_swizzle_length.cl
index 94e3f654d5d9..4dbb5bd76ee0 100644
--- a/test/SemaOpenCL/vector_swizzle_length.cl
+++ b/test/SemaOpenCL/vector_swizzle_length.cl
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 %s -verify -pedantic -fsyntax-only
+// RUN: %clang_cc1 -x cl %s -verify -pedantic -fsyntax-only
typedef float float8 __attribute__((ext_vector_type(8)));