From: Mike Stump Date: Tue, 21 Jul 2009 21:03:09 +0000 (+0000) Subject: Prep for new warning. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=df3f1447e424b6c1d2e5647b63afb5b52a41fc3e;p=platform%2Fupstream%2Fllvm.git Prep for new warning. llvm-svn: 76640 --- diff --git a/clang/test/CXX/temp/temp.decls/temp.fct/temp.over.link/p4-neg.cpp b/clang/test/CXX/temp/temp.decls/temp.fct/temp.over.link/p4-neg.cpp index b482955..399dcc4 100644 --- a/clang/test/CXX/temp/temp.decls/temp.fct/temp.over.link/p4-neg.cpp +++ b/clang/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}}