diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2013-12-22 00:07:40 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2013-12-22 00:07:40 +0000 |
commit | bfef399519ca9b8a4b4c6b563253bad7e0eeffe0 (patch) | |
tree | df8df0b0067b381eab470a3b8f28d14a552a6340 /test/SemaCXX/addr-of-overloaded-function-casting.cpp | |
parent | 6a0372513edbc473b538d2f724efac50405d6fef (diff) |
Diffstat (limited to 'test/SemaCXX/addr-of-overloaded-function-casting.cpp')
-rw-r--r-- | test/SemaCXX/addr-of-overloaded-function-casting.cpp | 8 |
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 cfd55eed81d5..784c8a000744 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); |