================ @@ -146,3 +146,8 @@ #pragma OPENCL EXTENSION cl_khr_subgroups: enable // expected-warning@-1{{unsupported OpenCL extension 'cl_khr_subgroups' - ignoring}} +#ifdef __opencl_c_generic_address_space +#error "Incorrect __opencl_c_generic_address_space define" ---------------- frasercrmck wrote:
Yeah I do too, but I was trying to go with the style of the other checks in this test. Or is it particularly this generic address space one, and the others are okay? https://github.com/llvm/llvm-project/pull/137636 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits