Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
8fb316ab6bf3ffc3f8d7aaac3d2091c319e1527d
/
.
/
test
/
SemaOpenCL
/
unsupported.cl
blob: bb9da4b272d72e9bc47a4bb028d0833cd41e78f9 [
file
] [
log
] [
blame
]
//
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}}
}