summaryrefslogtreecommitdiffstats
path: root/clang/test/Parser/opencl-storage-class.cl
diff options
context:
space:
mode:
authorYaxun Liu <Yaxun.Liu@amd.com>2016-05-13 15:44:37 +0000
committerYaxun Liu <Yaxun.Liu@amd.com>2016-05-13 15:44:37 +0000
commit64936ce91dba4fe91655629ce1a25895f2af6f51 (patch)
tree193e74b8eb9cbefed8552d6d4ba102e062e737b0 /clang/test/Parser/opencl-storage-class.cl
parent57cdcb07d69cddb702ca4a428eb5c6bdb2fa0a88 (diff)
downloadbcm5719-llvm-64936ce91dba4fe91655629ce1a25895f2af6f51.tar.gz
bcm5719-llvm-64936ce91dba4fe91655629ce1a25895f2af6f51.zip
[OpenCL] Add supported OpenCL extensions to target info.
Add supported OpenCL extensions to target info. It serves as default values to save the users of the burden setting each supported extensions and optional core features in command line. Differential Revision: http://reviews.llvm.org/D19484 llvm-svn: 269431
Diffstat (limited to 'clang/test/Parser/opencl-storage-class.cl')
-rw-r--r--clang/test/Parser/opencl-storage-class.cl2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Parser/opencl-storage-class.cl b/clang/test/Parser/opencl-storage-class.cl
index 6316ba7701d..a8ebc1af399 100644
--- a/clang/test/Parser/opencl-storage-class.cl
+++ b/clang/test/Parser/opencl-storage-class.cl
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 %s -verify -fsyntax-only
+// RUN: %clang_cc1 %s -verify -fsyntax-only -triple spir-unknown-unknown
void test_storage_class_specs()
{
OpenPOWER on IntegriCloud