blob: 3d9dcc334e5b2894342e587b6e6b70657190a1f7 (
plain)
1
2
3
4
5
6
7
8
9
|
// { dg-options "-fshow-column" }
// PR c++/16964
struct A
{
struct B {}; // { dg-error "10:previous definition of 'struct A::B'" }
};
struct A::B{}; // { dg-error "11:redefinition of 'struct A::B'" }
|