Sign in
llvm
/
clang
/
e8264bb9815647b4c6558aeb045c65965cdb26d3
/
.
/
test
/
SemaOpenCL
/
invalid-clk-events-cl2.0.cl
blob: 8c8e1c6176114b9a3837b344795b2112651ec37d [
file
] [
log
] [
blame
]
//
RUN
:
%
clang_cc1
%
s -verify -pedantic -fsyntax-only -cl-std=CL2
.0
global clk_event_t ce
; // expected-error {{the '__global clk_event_t' type cannot be used to declare a program scope variable}}