From 8b9ed55bfbea0f5c858654594ef178ef18a4aa1b Mon Sep 17 00:00:00 2001 From: John McCall Date: Mon, 1 Feb 2010 18:53:26 +0000 Subject: 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 --- clang/test/SemaTemplate/recursive-template-instantiation.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'clang/test/SemaTemplate/recursive-template-instantiation.cpp') 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 void f(T* t) { // expected-note{{candidate function}} +template void f(T* t) { // expected-note{{failed template argument deduction}} f(*t); // expected-error{{no matching function}}\ // expected-note 3{{requested here}} } -- cgit v1.2.3