yaxunl added inline comments. ================ Comment at: test/SemaOpenCL/invalid-pipes-cl2.0.cl:9 @@ -8,1 +8,3 @@ } +void test4() { + pipe int p; // expected-error {{pipe can only be used as a function parameter}} ---------------- Do we have a test for diagnosing pipe type for OCL < 2.0 ?
http://reviews.llvm.org/D17437 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits