From: Jason Merrill Date: Tue, 28 Nov 2017 18:09:15 +0000 (-0500) Subject: * g++.dg/cpp0x/fntmpdefarg2a.C: Move expected warning. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=196860441ef4bc4bf91de37a66c733dd49031be9;p=gcc.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 49c1e0557e0..c5713361a48 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&);