aboutsummaryrefslogtreecommitdiff
path: root/test/SemaTemplate/recursive-template-instantiation.cpp
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2010-02-01 18:53:26 +0000
committerJohn McCall <rjmccall@apple.com>2010-02-01 18:53:26 +0000
commit342fec43c515184a3c0d0600323dfec2b059e74e (patch)
tree59d7eeffe2c93a1ea22208d90c281ff24dc5b450 /test/SemaTemplate/recursive-template-instantiation.cpp
parentd17e340e2d516139931768697bf080f60920ba9d (diff)
Note that an overload candidate was non-viable because template argument
deduction failed. Right now there's a very vague diagnostic for most cases and a good diagnostic for incomplete deduction. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@94988 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/SemaTemplate/recursive-template-instantiation.cpp')
-rw-r--r--test/SemaTemplate/recursive-template-instantiation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/SemaTemplate/recursive-template-instantiation.cpp b/test/SemaTemplate/recursive-template-instantiation.cpp
index 0ddedaf235..d6a0b247dd 100644
--- a/test/SemaTemplate/recursive-template-instantiation.cpp
+++ b/test/SemaTemplate/recursive-template-instantiation.cpp
@@ -1,6 +1,6 @@
// RUN: %clang_cc1 -fsyntax-only -verify %s
-template<typename T> void f(T* t) { // expected-note{{candidate function}}
+template<typename T> void f(T* t) { // expected-note{{failed template argument deduction}}
f(*t); // expected-error{{no matching function}}\
// expected-note 3{{requested here}}
}