Anastasia added inline comments. ================ Comment at: test/SemaOpenCL/invalid-pipe-builtin-cl2.0.cl:37 @@ +36,3 @@ + write_pipe(p, tmp); // expected-error {{invalid argument type to function write_pipe (expecting: 'int *')}} + read_pipe(p, ptr); // expected-error {{invalid pipe access modifier (expecting read_only)}} + read_pipe(p, rid, tmp, ptr); // expected-error {{invalid pipe access modifier (expecting read_only)}} ---------------- Sometimes you use ":" where it's not needed.
Ex: invalid argument type to function write_pipe (expecting: 'int *') http://reviews.llvm.org/D15914 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits