blob: ba9aacc26e3369b31b49217774fe71ba7c41e169 (
plain)
1
2
3
4
5
6
7
8
9
|
// { 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'" }
|