[PATCH] D18385: [CUDA] Simplify SemaCUDA/function-overload.cu test.

Artem Belevich via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 23 09:53:09 PDT 2016


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 at -1 0+ {{'d' declared here}}
+// expected-note at -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





More information about the cfe-commits mailing list