diff options
Diffstat (limited to 'clang/test/Parser/opencl-kernel.cl')
-rw-r--r-- | clang/test/Parser/opencl-kernel.cl | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/clang/test/Parser/opencl-kernel.cl b/clang/test/Parser/opencl-kernel.cl new file mode 100644 index 0000000..3abb62b --- /dev/null +++ b/clang/test/Parser/opencl-kernel.cl @@ -0,0 +1,9 @@ +// RUN: %clang_cc1 %s -verify -pedantic -fsyntax-only + +__kernel void test() +{ +} + +kernel void test1() +{ +} |