repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[clang] Handle __declspec() attributes in using
[llvm-project.git]
/
clang
/
test
/
SemaOpenCL
/
recovery-expr.cl
blob
902b10dbb57899035e4ab2b43389964e935fbae4
1
//
RUN
:
%clang_cc1 %s -verify -pedantic -fsyntax-only -cl-std
=
clc
++
-frecovery-ast
2
3
void kernel nocrash
() {
4
constant int L1
=
0
;
5
6
private int
*
constant L2
=
L1
++
; // expected-error {{read-only variable is not assignable}}
7
}