☰
Debian Codegraph
@
1:22.1.8-2
1:22.1.8-1
1:22.1.7-1
/
/
clang
/
test
/
SemaOpenCL
/
recovery-expr.cl
☽
☼
clang/test/SemaOpenCL/recovery-expr.cl
code
plain
raw
APACHE-2-LLVM-EXCEPTIONS
2003-2017 University of Illinois at Urbana-Champaign.
debian/copyright
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
}