binutils-gdb/gdb/testsuite/gdb.cp/hang3.cc
Daniel Jacobowitz f0df251a26 * 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.
2009-11-12 19:35:26 +00:00

10 lines
117 B
C++

#include "hang.H"
const struct B *const_B_ptr;
int var_in_hang3 = 42;
int dummy3 (void)
{
return var_in_hang3;
}