jingyue added inline comments. ================ Comment at: test/SemaCUDA/function-overload.cu:138 @@ -149,3 +137,3 @@ fp_t cdhp = cdh; - gp_t gp = g; // expected-error {{reference to __global__ function 'g' in __global__ function}} - // expected-note@67 {{'g' declared here}} + gp_t gp = g; + // expected-error@-1 {{reference to __global__ function 'g' in __global__ function}} ---------------- This line seems to have a trailing space.
http://reviews.llvm.org/D16870 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits