1 // RUN
: %clang_cc1 -verify %s
2 // RUN
: %clang_cc1 -verify %s -DBITFIELDS_EXT -triple spir
5 #pragma OPENCL EXTENSION __cl_clang_bitfields
: enable
11 // expected-error
@-
2 {{bit-fields are not supported in OpenCL
}}
16 int a
[n]; // expected-error {{variable length arrays are not supported in OpenCL}}
19 void no_logxor(int n) {
20 int logxor = n ^^ n; // expected-error {{^^ is a reserved operator in OpenCL}}