Sign in
llvm
/
llvm-archive
/
f91d1660b4827134c7666ae9637f21a2741d183f
/
.
/
safecode
/
tools
/
clang
/
test
/
SemaOpenCL
/
local.cl
blob: 8637cfff30d1036e192b10e052396a19df9b6e8d [
file
] [
log
] [
blame
]
//
RUN
:
%
clang_cc1
%
s -verify -pedantic -fsyntax-only
__kernel void foo
(
void
)
{
__local int i
;
__local int j
=
2
; // expected-error {{'__local' variable cannot have an initializer}}
}