Debian Codegraph @

llvm-project/llvm/projects/opencl-clang/tests/Manual/testsuite/werror-option.cl

raw
1 // RUN: %occ-cli %s --cl-options=-Werror %cfg_path --cl-device=%cl_device --output=%t.bc
2 // XFAIL: *
3
4 struct Node;
5 typedef struct {
6 __global struct Node *pNext;
7 } Node;
8
9 __kernel void test(__global Node *pNodes) {
10 __global Node *pNew;
11 pNodes->pNext = pNew;
12 }