2 // Origin: Giovanni Bajo <giovannibajo at gcc dot gnu dot org>
3 // DR108: Are classes nested in templates dependent?
5 template <class T> struct S {
9 struct I2 : public I1 {
10 X x; // { dg-error "does not name a type" }
14 // Additional notes on the same line are allowed
15 // { dg-error "" "additional" { target *-*-* } 10 }