aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Merrill <jason@gcc.gnu.org>2017-11-28 13:09:15 -0500
committerJason Merrill <jason@gcc.gnu.org>2017-11-28 13:09:15 -0500
commit196860441ef4bc4bf91de37a66c733dd49031be9 (patch)
tree0094a7ac0fcb2f2a8afba471b3f3c3cd681a4a9a
parent04d1ea7a8b8fc97700825cefd0ae1741e2d555d8 (diff)
downloadgcc-196860441ef4bc4bf91de37a66c733dd49031be9.zip
gcc-196860441ef4bc4bf91de37a66c733dd49031be9.tar.gz
gcc-196860441ef4bc4bf91de37a66c733dd49031be9.tar.bz2
* g++.dg/cpp0x/fntmpdefarg2a.C: Move expected warning.
From-SVN: r255210
-rw-r--r--gcc/testsuite/g++.dg/cpp0x/fntmpdefarg2a.C4
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&);