repo.or.cz
/
minix.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
etc/services - sync with NetBSD-8
[minix.git]
/
external
/
bsd
/
llvm
/
dist
/
clang
/
test
/
SemaOpenCL
/
unsupported.cl
blob
bb9da4b272d72e9bc47a4bb028d0833cd41e78f9
1
//
RUN
:
%clang_cc1 -verify %s
2
3
struct
{
4
int a
:
1
; // expected-error {{bitfields are not supported in OpenCL}}
5
}
;
6
7
void no_vla
(
int
n
) {
8
int a
[n]; // expected-error {{variable length arrays are not supported in OpenCL}}
9
}