diff options
-rw-r--r-- | clang/test/Driver/opencl.cl | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/clang/test/Driver/opencl.cl b/clang/test/Driver/opencl.cl index e8e3b8f7538..d8f5f0245bd 100644 --- a/clang/test/Driver/opencl.cl +++ b/clang/test/Driver/opencl.cl @@ -1,12 +1,12 @@ -// RUN: %clang %s -// RUN: %clang -std=cl %s -// RUN: %clang -std=cl1.1 %s -// RUN: %clang -std=cl1.2 %s -// RUN: %clang -std=cl2.0 %s -// RUN: %clang -std=CL %s -// RUN: %clang -std=CL1.1 %s -// RUN: %clang -std=CL1.2 %s -// RUN: %clang -std=CL2.0 %s +// RUN: %clang -fsyntax-only %s +// RUN: %clang -fsyntax-only -std=cl %s +// RUN: %clang -fsyntax-only -std=cl1.1 %s +// RUN: %clang -fsyntax-only -std=cl1.2 %s +// RUN: %clang -fsyntax-only -std=cl2.0 %s +// RUN: %clang -fsyntax-only -std=CL %s +// RUN: %clang -fsyntax-only -std=CL1.1 %s +// RUN: %clang -fsyntax-only -std=CL1.2 %s +// RUN: %clang -fsyntax-only -std=CL2.0 %s // RUN: not %clang_cc1 -std=c99 -DOPENCL %s 2>&1 | FileCheck --check-prefix=CHECK-C99 %s // RUN: not %clang_cc1 -std=invalid -DOPENCL %s 2>&1 | FileCheck --check-prefix=CHECK-INVALID %s // CHECK-C99: error: invalid argument '-std=c99' not allowed with 'OpenCL' |