forked from OSchip/llvm-project
Add -fsyntax-only to Driver/opencl.cl test.
llvm-svn: 273150
This commit is contained in:
parent
4e0bd84b35
commit
3688c4ca78
|
@ -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'
|
||||
|
|
Loading…
Reference in New Issue