Anastasia added inline comments.

================
Comment at: test/SemaOpenCL/invalid-image.cl:3
@@ +2,3 @@
+
+void test1(image1d_t *i){} // expected-error {{pointer to type 'image1d_t' is 
invalid in OpenCL}}
+
----------------
Anastasia wrote:
> Could we add similar tests for other types too. I think we could put them in 
> existing cl files.
At least sampler test could go into test/SemaOpenCL/sampler_t.cl


http://reviews.llvm.org/D17437



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

Reply via email to