9c6c53f727
2011-10-11 Sterling Augustine <saugustine@google.com> * dwarf2read.c (partial_die_parent_scope): Rearrange conditional logic. gdb/testsuite/ChangeLog 2011-10-11 Sterling Augustine <saugustine@google.com> * gdb.cp/Makefile.in: Add namespace-enum test. * gdb.cp/namespace-enum.exp: New file. * gdb.cp/namespace-enum.c: New file. * gdb.cp/namespace-enum-main.c: New file.
8 lines
84 B
C++
8 lines
84 B
C++
enum A { A_A };
|
|
enum A a = A_A;
|
|
|
|
namespace foo
|
|
{
|
|
enum B { B_B };
|
|
enum B b = B_B;
|
|
};
|