Anastasia 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}}
----------------
yaxunl wrote:
> this error msg is confusing. better say 'function scope variable with static
> storage must ...'
Yes, I agree. The error message is not ideal. I will think of better wording
here.
http://reviews.llvm.org/D17345
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits