[PATCH] Fix for PR20886 - enforce CUDA target match in method calls

Peter Collingbourne peter at pcc.me.uk
Fri Sep 19 14:52:30 PDT 2014


================
Comment at: test/SemaCUDA/method-target.cu:21
@@ +20,3 @@
+  void method(int) {} // expected-note {{candidate function not viable}}
+  void method(float) {} // expected-note {{candidate function not viable}}
+};
----------------
Can we check for a more specific error message here?

http://reviews.llvm.org/D5298






More information about the cfe-commits mailing list