summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/qual1.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.dg/template/qual1.C')
-rw-r--r--gcc/testsuite/g++.dg/template/qual1.C2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/g++.dg/template/qual1.C b/gcc/testsuite/g++.dg/template/qual1.C
index 8fa79b3d2e7..7b20265eb9a 100644
--- a/gcc/testsuite/g++.dg/template/qual1.C
+++ b/gcc/testsuite/g++.dg/template/qual1.C
@@ -7,7 +7,7 @@ public:
void sort (int (*compare) (T *const&,T *const&));
};
-int shift_compare (int *const &, int *const &) {}
+int shift_compare (int *const &, int *const &) { return 0; }
template<class T> void
Link_array<T>::sort (int (*compare) (T *const&,T *const&))