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" "name" }
11 // { dg-message "note" "note" { target *-*-* } 10 }