diff options
Diffstat (limited to 'test/CodeGenOpenCL/images.cl')
-rw-r--r-- | test/CodeGenOpenCL/images.cl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/CodeGenOpenCL/images.cl b/test/CodeGenOpenCL/images.cl index eb054eceb5..baa9197847 100644 --- a/test/CodeGenOpenCL/images.cl +++ b/test/CodeGenOpenCL/images.cl @@ -1,4 +1,5 @@ // RUN: %clang_cc1 %s -triple x86_64-unknown-linux-gnu -O0 -emit-llvm -o - | FileCheck %s +// RUN: %clang_cc1 %s -triple x86_64-unknown-linux-gnu -O0 -emit-llvm -o - -cl-std=c++ | FileCheck %s __attribute__((overloadable)) void read_image(read_only image1d_t img_ro); __attribute__((overloadable)) void read_image(write_only image1d_t img_wo); |