diff options
author | John McCall <rjmccall@apple.com> | 2010-02-01 18:53:26 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2010-02-01 18:53:26 +0000 |
commit | 8b9ed55bfbea0f5c858654594ef178ef18a4aa1b (patch) | |
tree | ad2d8f6fd526be97c89b775e6e4a8435d2e71688 /clang/test/SemaTemplate/recursive-template-instantiation.cpp | |
parent | e5e1b7b05a2f1f40bdd2fec0105cd48f39c8ad0f (diff) | |
download | bcm5719-llvm-8b9ed55bfbea0f5c858654594ef178ef18a4aa1b.tar.gz bcm5719-llvm-8b9ed55bfbea0f5c858654594ef178ef18a4aa1b.zip |
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.
llvm-svn: 94988
Diffstat (limited to 'clang/test/SemaTemplate/recursive-template-instantiation.cpp')
-rw-r--r-- | clang/test/SemaTemplate/recursive-template-instantiation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/SemaTemplate/recursive-template-instantiation.cpp b/clang/test/SemaTemplate/recursive-template-instantiation.cpp index 0ddedaf2354..d6a0b247dd4 100644 --- a/clang/test/SemaTemplate/recursive-template-instantiation.cpp +++ b/clang/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}} } |