[PR c++/84702] ICE with default tmpl arg of overload set
[official-gcc.git] / gcc / testsuite / g++.dg / template / pr67337.C
blobdf2651bc9a570b6af5fa923a6aef4099aeeb1e73
1 template <class> class A
3   void m_fn1 (int *, int);
4 };
6 template <class> class B
8 public:
9   typedef int Type;
12 template <class> class C
14 public:
15   C (int);
16   template <template <class> class T> void m_fn2 (typename T<void>::Type);
19 template <>
20 void
21 A<int>::m_fn1 (int *, int)
23   C<int> a (0);
24   a.m_fn2<B> (0);