From: Mike Stump Date: Tue, 21 Jul 2009 21:03:09 +0000 (+0000) Subject: Prep for new warning. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cb077fc8e0d440f024bbdf57983b84b6d658b60b;p=clang Prep for new warning. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@76640 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CXX/temp/temp.decls/temp.fct/temp.over.link/p4-neg.cpp b/test/CXX/temp/temp.decls/temp.fct/temp.over.link/p4-neg.cpp index b482955818..399dcc4bed 100644 --- a/test/CXX/temp/temp.decls/temp.fct/temp.over.link/p4-neg.cpp +++ b/test/CXX/temp/temp.decls/temp.fct/temp.over.link/p4-neg.cpp @@ -17,11 +17,11 @@ template struct MetaFun; template - typename MetaFun::type f0(const T&) { } // expected-note{{previous}} + typename MetaFun::type f0(const T&) { while (1) {} } // expected-note{{previous}} template - typename MetaFun::type f0(const U&) { } // expected-error{{redefinition}} + typename MetaFun::type f0(const U&) { while (1) {} } // expected-error{{redefinition}} // FIXME: We need canonicalization of expressions for this to work // template struct A { }; // template void f0(A) { } // Xpected-note{{previous}} -// template void f0(A) { } // Xpected-error{{redefinition}} \ No newline at end of file +// template void f0(A) { } // Xpected-error{{redefinition}}