1 // PR tree-optimization/57661
2 // { dg-do compile { target c++11 } }
3 // { dg-options "-O2 -fno-tree-forwprop" }
10 template <typename _Tp>
12 template <typename _Tp>
14 namespace N { enum D { d }; }
20 template <class, class V>
22 template <class U, class V>
29 static void g5 (G *__t) { __t->g4 (); }
31 template <class U, class V>
43 template <class U, class V>
44 struct I : H <U, V>, E <U>
55 typedef G <char, C <char>> j2;
61 typedef G <char, C <char>> j2;
62 K () { j2::g5 (this->j3); }
64 template <class U, class V>
71 I <U, V> *q = (I <U, V> *) this;