[PR c++/84702] ICE with default tmpl arg of overload set
[official-gcc.git] / gcc / testsuite / g++.dg / template / defarg18.C
blobac0896606189addcc4eb3f05271e802c80c9fb2d
1 // PR c++/60067
3 template <class> struct A;
4 template <class> struct B { enum { v = 1 };  };
6 template <class T = void (A<int>)>
7 struct C {
8   void f () {
9     void g (int [B<T>::v]);
10   }
13 void foo (void) {
14     C<int>().f ();