blob: 31dde8cbb5d429e5b111fceabc1c8f3bcb9186ef [file] [log] [blame]
// { dg-do compile }
// Origin: Giovanni Bajo <giovannibajo at gcc dot gnu dot org>
// DR85: Redeclaration of member class
struct Base {
struct Data {};
struct Data; // { dg-error "" "redeclaration of nested class is invalid" { xfail *-*-* } }
};