* g++.dg/cpp0x/fntmpdefarg2a.C: Move expected warning.
From-SVN: r255210
This commit is contained in:
parent
04d1ea7a8b
commit
196860441e
1 changed files with 2 additions and 2 deletions
|
@ -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&);
|
||||
|
|
Loading…
Add table
Reference in a new issue