summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/spec7.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.dg/template/spec7.C')
-rw-r--r--gcc/testsuite/g++.dg/template/spec7.C2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/g++.dg/template/spec7.C b/gcc/testsuite/g++.dg/template/spec7.C
index 18d3c90c45e..caf6b91d151 100644
--- a/gcc/testsuite/g++.dg/template/spec7.C
+++ b/gcc/testsuite/g++.dg/template/spec7.C
@@ -20,7 +20,7 @@ template<> template<> template <class V> void A<int>::B<char>::g(V)
A<int>::B<char> b;
-int h()
+void h()
{
b.f();
b.g(0);