summaryrefslogtreecommitdiffstats
path: root/test/SemaCXX/addr-of-overloaded-function-casting.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/SemaCXX/addr-of-overloaded-function-casting.cpp')
-rw-r--r--test/SemaCXX/addr-of-overloaded-function-casting.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/test/SemaCXX/addr-of-overloaded-function-casting.cpp b/test/SemaCXX/addr-of-overloaded-function-casting.cpp
index cfd55ee..784c8a0 100644
--- a/test/SemaCXX/addr-of-overloaded-function-casting.cpp
+++ b/test/SemaCXX/addr-of-overloaded-function-casting.cpp
@@ -4,8 +4,12 @@ void g();
void f(); // expected-note 9{{candidate function}}
void f(int); // expected-note 9{{candidate function}}
-template<class T> void t(T); // expected-note 6{{candidate function}}
-template<class T> void t(T*); // expected-note 6{{candidate function}}
+template <class T>
+void t(T); // expected-note 3{{candidate function}} \
+ // expected-note 3{{candidate template ignored: could not match 'void' against 'int'}}
+template <class T>
+void t(T *); // expected-note 3{{candidate function}} \
+ // expected-note 3{{candidate template ignored: could not match 'void' against 'int'}}
template<class T> void u(T);
OpenPOWER on IntegriCloud