Sign in
cobalt
/
cobalt
/
63c7ad499be49ef959b3b1c5ea3f48491aa033d3
/
.
/
src
/
third_party
/
llvm-project
/
clang
/
test
/
SemaOpenCL
/
array-parameters.cl
blob: 200acacfad4c795cd38ad5f2ddf62695aeabc396 [
file
] [
log
] [
blame
]
//
RUN
:
%
clang_cc1
%
s -verify -pedantic -fsyntax-only
//
expected-no-diagnostics
kernel void foo
(
global int a
[],
local int b
[],
constant int c
[
4
]
)
{
}
void bar
(
global int a
[],
local int b
[],
constant int c
[
4
],
int d
[]
)
{
}