summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaCXX/addr-of-overloaded-function-casting.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2013-08-14 00:00:44 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2013-08-14 00:00:44 +0000
commit0d905476f8316eeeac5dcfb9d415d3e0256aae58 (patch)
treeb8af1197a85c698948ffadbe6586904835225a5f /clang/test/SemaCXX/addr-of-overloaded-function-casting.cpp
parent2d6e2834a8abcce862ef17c44f62e4de41662748 (diff)
downloadbcm5719-llvm-0d905476f8316eeeac5dcfb9d415d3e0256aae58.tar.gz
bcm5719-llvm-0d905476f8316eeeac5dcfb9d415d3e0256aae58.zip
Don't produce duplicate notes if we have deduction failure notes when resolving
the address of an overloaded function template. llvm-svn: 188334
Diffstat (limited to 'clang/test/SemaCXX/addr-of-overloaded-function-casting.cpp')
-rw-r--r--clang/test/SemaCXX/addr-of-overloaded-function-casting.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/SemaCXX/addr-of-overloaded-function-casting.cpp b/clang/test/SemaCXX/addr-of-overloaded-function-casting.cpp
index 8698736b3ae..784c8a00074 100644
--- a/clang/test/SemaCXX/addr-of-overloaded-function-casting.cpp
+++ b/clang/test/SemaCXX/addr-of-overloaded-function-casting.cpp
@@ -5,10 +5,10 @@ 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}} \
+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 6{{candidate function}} \
+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