☰
Debian Codegraph
@
1:19.1.7-22
1:19.1.7-20
/
/
clang
/
test
/
SemaOpenCL
/
sizeof.cl
☽
☼
clang/test/SemaOpenCL/sizeof.cl
code
plain
raw
APACHE-2-LLVM-EXCEPTIONS
2003-2017 University of Illinois at Urbana-Champaign.
debian/copyright
1
// RUN: %clang_cc1 %s -verify -fsyntax-only
2
3
kernel void test(global int* buf) {
4
buf[0] = sizeof(void); // expected-error {{invalid application of 'sizeof' to a void type}}
5
}