blob: 31dde8cbb5d429e5b111fceabc1c8f3bcb9186ef (
plain)
1
2
3
4
5
6
7
8
|
// { 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 *-*-* } }
};
|