Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
13330c4e85993b348b94958197f9a5be9b778741
/
.
/
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}}
}