☰
Debian Codegraph
@
1:22.1.8-2
1:22.1.8-1
1:22.1.7-1
/
/
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
}