diff options
-rw-r--r-- | gcc/testsuite/g++.dg/cpp0x/fntmpdefarg2a.C | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/testsuite/g++.dg/cpp0x/fntmpdefarg2a.C b/gcc/testsuite/g++.dg/cpp0x/fntmpdefarg2a.C index 49c1e05..c571336 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<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&); |