Sign in
llvm
/
clang
/
4a9b0e9a580ad0b54a646d6fb04eb9b80d7c1a92
/
.
/
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}}