forked from OSchip/llvm-project
10 lines
225 B
Common Lisp
10 lines
225 B
Common Lisp
|
// RUN: %clang_cc1 -verify %s
|
||
|
|
||
|
struct {
|
||
|
int a : 1; // expected-error {{bitfields are not supported in OpenCL}}
|
||
|
};
|
||
|
|
||
|
void no_vla(int n) {
|
||
|
int a[n]; // expected-error {{variable length arrays are not supported in OpenCL}}
|
||
|
}
|