1 // Origin: PR c++/42713
15 template<class U, class V>
16 struct super_struct : S0<V>
21 template<class U, class V, class W>
22 struct S1 : super_struct<U, V>
24 typedef super_struct<U, V> super;
25 typedef typename super::super Super2;
26 typedef typename Super2::TT Super2TT;
34 template<class U, class V>
35 struct S2 : super_struct<U, V>
37 typedef super_struct<U, V> super;
38 typedef typename super::super Super2;
39 typedef typename Super2::TT Super2TT;
50 S1<int, S<int>, int> s1;