From: Jason Merrill Date: Tue, 28 Nov 2017 18:09:15 +0000 (-0500) Subject: * g++.dg/cpp0x/fntmpdefarg2a.C: Move expected warning. X-Git-Tag: basepoints/gcc-9~3013 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=196860441ef4bc4bf91de37a66c733dd49031be9;p=thirdparty%2Fgcc.git * g++.dg/cpp0x/fntmpdefarg2a.C: Move expected warning. From-SVN: r255210 --- diff --git a/gcc/testsuite/g++.dg/cpp0x/fntmpdefarg2a.C b/gcc/testsuite/g++.dg/cpp0x/fntmpdefarg2a.C index 49c1e0557e0c..c5713361a481 100644 --- a/gcc/testsuite/g++.dg/cpp0x/fntmpdefarg2a.C +++ b/gcc/testsuite/g++.dg/cpp0x/fntmpdefarg2a.C @@ -5,11 +5,11 @@ struct B { }; struct D : B { }; struct A { - template operator D&(); // { dg-message "template conversion" } + template operator D&(); operator long(); }; -template <> A::operator D&(); +template <> A::operator D&(); // { dg-message "template conversion" } void f(long); void f(B&);