repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git]
/
clang
/
test
/
SemaOpenCL
/
array-parameters.cl
blob
200acacfad4c795cd38ad5f2ddf62695aeabc396
1
//
RUN
:
%clang_cc1 %s -verify -pedantic -fsyntax-only
2
//
expected-no-diagnostics
3
4
kernel void foo
(
global
int a
[],
local int b
[],
constant int c
[4]) { }
5
6
void bar(global int a[], local int b[], constant int c[4]
,
int d
[]) { }