summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/torture/pr77947.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.dg/torture/pr77947.C')
-rw-r--r--gcc/testsuite/g++.dg/torture/pr77947.C3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/testsuite/g++.dg/torture/pr77947.C b/gcc/testsuite/g++.dg/torture/pr77947.C
index 3c8a24a16c6..14f8b13a864 100644
--- a/gcc/testsuite/g++.dg/torture/pr77947.C
+++ b/gcc/testsuite/g++.dg/torture/pr77947.C
@@ -18,9 +18,12 @@ B::m_fn2 () const
bool
m_fn1 () const
{
+ return true;
}
C () {}
};
+
+ return 0;
}
void
fn1 (A &p1)