tra accepted this revision.
tra added a comment.
This revision is now accepted and ready to land.
Small nit, LGTM otherwise.
================
Comment at: test/SemaCUDA/function-overload.cu:66
@@ +65,3 @@
+__device__ int d() { return 8; }
+// expected-note@-1 0+ {{'d' declared here}}
+// expected-note@-2 0+ {{candidate function not viable: call to __device__
function from __host__ function}}
----------------
Minor nit: Notes that are common to all test runs should probably be 1+.
http://reviews.llvm.org/D18385
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits