[PR c++/84702] ICE with default tmpl arg of overload set
[official-gcc.git] / gcc / testsuite / g++.dg / template / dependent-expr9.C
blobe5abc2525d389238c34dd2cca20b7a6037c10c2b
1 // PR c++/69753
3 class A {
4 public:
5   template <class> void m_fn1();
6 };
7 A *fn1(int *);
8 template <typename> class B : A {
9   static int *m_fn2() { fn1(m_fn2())->m_fn1<A>(); return 0; }