Commit 19686044 by Jason Merrill

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

From-SVN: r255210
parent 04d1ea7a
...@@ -5,11 +5,11 @@ ...@@ -5,11 +5,11 @@
struct B { }; struct B { };
struct D : B { }; struct D : B { };
struct A { struct A {
template<typename T = void> operator D&(); // { dg-message "template conversion" } template<typename T = void> operator D&();
operator long(); operator long();
}; };
template <> A::operator D&(); template <> A::operator D&(); // { dg-message "template conversion" }
void f(long); void f(long);
void f(B&); void f(B&);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment