e70d6e3ff5
* gdb.c++/m-static.exp: Remove breakpoints depending on line numbers, and replace them by a single breakpoint after the constructors are all finished. Add test 4. * gdb.c++/m-static.cc: Add test 4. * gdb.c++/m-static.h: New file. * gdb.c++/m-static1.cc: New file. * gdb.c++/printmethod.exp: New file. * gdb.c++/printmethod.cc: New file. * gdb.c++/pr-574.exp: New file. * gdb.c++/pr-574.cc: New file.
11 lines
173 B
C++
11 lines
173 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;
|
|
};
|
|
|