Sign in
android
/
platform
/
external
/
clang_35a
/
19098dcde2b7597ad620b1d7bfe180dd69308648
/
.
/
test
/
SemaOpenCL
/
extern.cl
blob: ee5e07237f06dcc30b25973a83dbb4747983e5ea [
file
] [
log
] [
blame
]
//
RUN
:
%
clang_cc1 -x cl -cl-std=CL1
.2
-emit-llvm
%
s -o
-
-verify
|
FileCheck
%
s
//
expected-no-diagnostics
//
CHECK
:
@
foo
=
external global float
extern constant float foo
;
kernel void test
(
global float
*
buf
)
{
buf
[
0
]
+=
foo
;
}