1 // { dg-do compile } 2 3 struct T { struct type {}; }; 4 struct T2 : T { using T::type; }; 5 struct T3 : T2 6 { 7 struct type {}; 8 type t; 9 }; 10