c7e64c9a76
* gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4 is allocated by the compiler. * gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s, anons, e, anone to force their allocation by the compiler.
14 lines
234 B
C++
14 lines
234 B
C++
// 2002-08-16
|
|
|
|
class gnu_obj_4
|
|
{
|
|
public:
|
|
static const int elsewhere;
|
|
static const int nowhere;
|
|
// At some point, perhaps:
|
|
// static const int everywhere = 317;
|
|
|
|
// try to ensure test4 is actually allocated
|
|
int dummy;
|
|
};
|
|
|