2 // Origin: Giovanni Bajo <giovannibajo at gcc dot gnu dot org>
3 // DR56: Redeclaring typedefs within classes
7 typedef int I; // { dg-error "" "Cannot redeclare a typedef in a class scope" { xfail *-*-* } }
10 // In non-class scope, they are allowed.