blob: 18769ef6bc4dc40ea3c0414a3e2188d476a6ba83 [file] [log] [blame]
// PR c++/32870
struct Foo {
struct Bar;
};
namespace N {
struct Foo::Bar { }; // { dg-error "in namespace 'N'" }
}
struct Baz {
struct Foo::Bar { }; // { dg-error "in 'struct Baz'" }
};