old-cross-binutils/gdb/testsuite/gdb.cp/pr9067.cc
Chris Moller 99903ae39e PR gdb/9067
* cp-valprint.c (cp_print_value_fields) Fix use of obstacks.
	cp_print_static_field)  Fix use of obstacks.
* gdb.cp/pr9067.exp:  New
* gdb.cp/pr9067.cc:   New
* gdb.cp/Makefile.in (EXECUTABLES): Add pr9067
2010-02-08 18:04:17 +00:00

17 lines
114 B
C++

struct B;
struct A {
static B b;
};
struct B {
A a;
};
B A::b;
B b;
int main(int,char **)
{
return 0;
}