summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/lookup/struct2.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.dg/lookup/struct2.C')
-rw-r--r--gcc/testsuite/g++.dg/lookup/struct2.C2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/g++.dg/lookup/struct2.C b/gcc/testsuite/g++.dg/lookup/struct2.C
index a66f403c291..a63e03dffdc 100644
--- a/gcc/testsuite/g++.dg/lookup/struct2.C
+++ b/gcc/testsuite/g++.dg/lookup/struct2.C
@@ -4,4 +4,4 @@ struct c {};
namespace A {
int c(struct c*req);
}
-int A::c(struct c*req) {}
+int A::c(struct c*req) { return 0; }