1 2 3 4 5 6 7 8
// { dg-do compile } // PR c++/48010 struct A { struct type {}; // { dg-error "conflicts with previous" } typedef int type; // { dg-error "declaration" } };