[PATCH] D16870: [CUDA] Tweak attribute-based overload resolution to match nvcc behavior.
Jingyue Wu via cfe-commits
cfe-commits at lists.llvm.org
Fri Feb 5 11:00:12 PST 2016
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 at 67 {{'g' declared here}}
+ gp_t gp = g;
+ // expected-error at -1 {{reference to __global__ function 'g' in __global__ function}}
----------------
This line seems to have a trailing space.
http://reviews.llvm.org/D16870
More information about the cfe-commits
mailing list