yaxunl added inline comments.
================
Comment at: test/SemaOpenCL/storageclass-cl20.cl:11
@@ -10,3 +10,3 @@
static global int S2 = 5;
- static private int S3 = 5;// expected-error{{program scope variable must
reside in global or constant address space}}
+ static private int S3 = 5; // expected-error{{program scope variable must
reside in global or constant address space}}
----------------
this error msg is confusing. better say 'function scope variable with static
storage must ...'
http://reviews.llvm.org/D17345
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits