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