[PATCH] D17345: [OpenCL] Improve diagnostics of address spaces for variables inside function

Anastasia Stulova via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 23 10:27:26 PST 2016


Anastasia added inline comments.

================
Comment at: test/SemaOpenCL/storageclass-cl20.cl:19
@@ -15,1 +18,2 @@
+  extern int G6; // expected-error{{program scope variable must reside in global or constant address space}}
 }
----------------
Khronos bug: https://cvs.khronos.org/bugzilla/show_bug.cgi?id=15598


http://reviews.llvm.org/D17345





More information about the cfe-commits mailing list