1 // { dg-options "-fabi-version=0" } 2 3 template <typename T> struct S { 4 struct I{}; 5 operator I* (); 6 }; 7 8 template <typename T> struct S2 : S<T> { 9 operator typename S<T>::I* (); 10 }; 11 12 template struct S2<int>; 13