old-cross-binutils/gdb/testsuite/gdb.cp/hang2.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

13 lines
116 B
C++

#include "hang.H"
struct B
{
int member_of_B;
};
int var_in_b = 1729;
int dummy2 (void)
{
return var_in_b;
}