mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-15 04:31:49 +08:00
f0df251a26
* 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.
14 lines
116 B
C++
14 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;
|
|
}
|