forked from OSchip/llvm-project
[OpenCL] Fix condition macro name in test
This commit is contained in:
parent
ac312a9d7c
commit
52f7cd23b4
|
@ -79,7 +79,7 @@ kernel void read_write_twice_typedef(read_write img1d_rw i){} // expected-warnin
|
|||
// expected-note@-67 {{previously declared 'read_write' here}}
|
||||
#endif
|
||||
|
||||
#if OPENCL_C_VERSION__ >= 200
|
||||
#if __OPENCL_C_VERSION__ >= 200
|
||||
void myPipeWrite(write_only pipe int); // expected-note {{passing argument to parameter here}}
|
||||
kernel void k14(read_only pipe int p) {
|
||||
myPipeWrite(p); // expected-error {{passing '__private read_only pipe int' to parameter of incompatible type 'write_only pipe int'}}
|
||||
|
|
Loading…
Reference in New Issue