================ @@ -299,14 +299,14 @@ kernel void basic_image_writeonly(write_only image1d_buffer_t image_write_only_i int4 i4; write_imagef(image3dwo, i4, i, f4); -#if __OPENCL_C_VERSION__ <= CL_VERSION_1_2 && !defined(__OPENCL_CPP_VERSION__) +#if !defined(__OPENCL_C_VERSION__) && !defined(__OPENCL_CPP_VERSION__) ---------------- svenvh wrote:
This is a valid point I think; you might just be able to remove the `expected-error` checks if they don't occur for any OpenCL version anymore. https://github.com/llvm/llvm-project/pull/175120 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
