Stephen Hines | 176edba | 2014-12-01 14:53:08 -0800 | [diff] [blame] | 1 | // RUN: %clang_cc1 %s -fsyntax-only -cl-std=CL |
2 | // RUN: %clang_cc1 %s -fsyntax-only -cl-std=CL1.1 | ||||
3 | // RUN: %clang_cc1 %s -fsyntax-only -cl-std=CL1.2 | ||||
4 | // RUN: %clang_cc1 %s -fsyntax-only -cl-std=CL2.0 | ||||
5 | // RUN: not %clang_cc1 %s -fsyntax-only -cl-std=invalid -DINVALID 2>&1 | FileCheck %s | ||||
6 | |||||
7 | #ifdef INVALID | ||||
8 | // CHECK: invalid value 'invalid' in '-cl-std=invalid' | ||||
9 | #endif |