From 196860441ef4bc4bf91de37a66c733dd49031be9 Mon Sep 17 00:00:00 2001 From: Jason Merrill Date: Tue, 28 Nov 2017 13:09:15 -0500 Subject: [PATCH] * g++.dg/cpp0x/fntmpdefarg2a.C: Move expected warning. From-SVN: r255210 --- gcc/testsuite/g++.dg/cpp0x/fntmpdefarg2a.C | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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&); -- 2.30.2