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