Anastasia accepted this revision. ================ Comment at: test/SemaOpenCL/sampler_t.cl:13 @@ -12,2 +12,3 @@ foo(5); // expected-error {{sampler_t variable required - got 'int'}} + sampler_t sa[] = {argsmp,const_smp}; // expected-error {{array of 'sampler_t' type is invalid in OpenCL}} } ---------------- put whitespace after ,
http://reviews.llvm.org/D17437 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits