From f0df251a26c53481e32d390da65acbdea79f3a82 Mon Sep 17 00:00:00 2001 From: Daniel Jacobowitz Date: Thu, 12 Nov 2009 19:35:26 +0000 Subject: * gdb.base/break.c (need_malloc): New. * gdb.base/constvars.c (main): Reference crass and crisp. * gdb.base/gdb1821.c (main): Reference bar. * gdb.cp/gdb1355.cc (main): Reference s1. * gdb.cp/hang1.cc (dummy2, dummy3): Declare. (main): Call them. * gdb.cp/hang2.cc (dummy2): Define. * gdb.cp/hang3.cc (dummy3): Define. * gdb.cp/m-data.cc (main): Reference shadow. --- gdb/testsuite/gdb.cp/gdb1355.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gdb/testsuite/gdb.cp/gdb1355.cc') diff --git a/gdb/testsuite/gdb.cp/gdb1355.cc b/gdb/testsuite/gdb.cp/gdb1355.cc index a53ca20e4d5..51e625f1449 100644 --- a/gdb/testsuite/gdb.cp/gdb1355.cc +++ b/gdb/testsuite/gdb.cp/gdb1355.cc @@ -31,5 +31,6 @@ struct mystruct s1 = int main () { - return 0; + /* Reference s1 so that it is included. */ + return s1.m_int - 117; } -- cgit v1.2.1