blob: ba9aacc26e3369b31b49217774fe71ba7c41e169 [file] [log] [blame]
// { dg-options "-fshow-column" }
// PR c++/16964
struct A
{
struct B {}; // { dg-error "12:previous definition of 'struct A::B'" }
};
struct A::B{}; // { dg-error "11:redefinition of 'struct A::B'" }