Anastasia added inline comments.

================
Comment at: test/SemaOpenCL/storageclass-cl20.cl:23
@@ -19,1 +22,3 @@
+  extern global int G5;
+  extern int G6; // expected-error{{program scope variable must reside in 
global or constant address space}}
 }
----------------
Apparently not, because we only apply global as default address space to 
program (non-function) scope declarations. I am not sure what we should do here 
though, but this perhaps doesn't belong to this change.

Do we need clarifications with Khronos here?


http://reviews.llvm.org/D17345



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to