We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent db321e2 commit 51a529aCopy full SHA for 51a529a
clang/test/Misc/nvptx.languageOptsOpenCL.cl
@@ -126,6 +126,9 @@
126
// #error "Incorrect cl_khr_3d_image_writes define"
127
// #endif
128
#pragma OPENCL EXTENSION cl_khr_3d_image_writes : enable
129
+#if (__OPENCL_C_VERSION__ >= 120) && defined TEST_CORE_FEATURES
130
+// expected-warning@-2{{OpenCL extension 'cl_khr_3d_image_writes' is core feature or supported optional core feature - ignoring}}
131
+#endif
132
133
#ifdef cl_khr_gl_event
134
#error "Incorrect cl_khr_gl_event define"
0 commit comments