summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/conv1.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.dg/template/conv1.C')
-rw-r--r--gcc/testsuite/g++.dg/template/conv1.C4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/testsuite/g++.dg/template/conv1.C b/gcc/testsuite/g++.dg/template/conv1.C
index e0c7492034c..80c7becd665 100644
--- a/gcc/testsuite/g++.dg/template/conv1.C
+++ b/gcc/testsuite/g++.dg/template/conv1.C
@@ -16,8 +16,8 @@ template<class T> struct First
};
template <class T> int First<T>::Foo ()
-{} // This is here to make sure we didn't smash Foo's decl in the
- // method vector
+{ return 0; } // This is here to make sure we didn't smash Foo's decl in the
+ // method vector
struct B { };
struct D { };