* g++.dg/cpp0x/fntmpdefarg2a.C: Move expected warning.

From-SVN: r255210
This commit is contained in:
Jason Merrill 2017-11-28 13:09:15 -05:00
parent 04d1ea7a8b
commit 196860441e
1 changed files with 2 additions and 2 deletions

View File

@ -5,11 +5,11 @@
struct B { };
struct D : B { };
struct A {
template<typename T = void> operator D&(); // { dg-message "template conversion" }
template<typename T = void> operator D&();
operator long();
};
template <> A::operator D&();
template <> A::operator D&(); // { dg-message "template conversion" }
void f(long);
void f(B&);