summaryrefslogtreecommitdiffstats
path: root/test/Headers
diff options
context:
space:
mode:
authorYaxun Liu <Yaxun.Liu@amd.com>2016-05-28 19:50:40 +0000
committerYaxun Liu <Yaxun.Liu@amd.com>2016-05-28 19:50:40 +0000
commitb55f7cf0a622f0e170d5693c5c1c0aa600ab9fe1 (patch)
treed3de3e7ad3b1fe39f05870490156f45168446a61 /test/Headers
parente9b4ce30ae4bfb1276c096b837e5f060996c2f71 (diff)
Revert r271136 [OpenCL] Add the default header file opencl-c.h for OpenCL C language due to build failure on ppc64/hexagon/systemz.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@271144 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Headers')
-rw-r--r--test/Headers/opencl-c-header.cl9
1 files changed, 0 insertions, 9 deletions
diff --git a/test/Headers/opencl-c-header.cl b/test/Headers/opencl-c-header.cl
deleted file mode 100644
index 4697505e46..0000000000
--- a/test/Headers/opencl-c-header.cl
+++ /dev/null
@@ -1,9 +0,0 @@
-// RUN: %clang_cc1 -internal-isystem ../../lib/Headers -include opencl-c.h -emit-llvm -o - %s | FileCheck %s
-// RUN: %clang_cc1 -internal-isystem ../../lib/Headers -include opencl-c.h -emit-llvm -o - %s -cl-std=CL1.1| FileCheck %s
-// RUN: %clang_cc1 -internal-isystem ../../lib/Headers -include opencl-c.h -emit-llvm -o - %s -cl-std=CL1.2| FileCheck %s
-// RUN: %clang_cc1 -internal-isystem ../../lib/Headers -include opencl-c.h -fblocks -emit-llvm -o - %s -cl-std=CL2.0| FileCheck %s
-
-// CHECK: _Z16convert_char_rtec
-char f(char x) {
- return convert_char_rte(x);
-}