[PR c++/84702] ICE with default tmpl arg of overload set
[official-gcc.git] / gcc / testsuite / g++.dg / template / defarg8.C
blob61d819c7cdc25bc24a814f87e61c1a296290522d
1 // PR c++/27094
2 // { dg-options "--param ggc-min-expand=0 --param ggc-min-heapsize=0" }
4 struct A
6   ~A();
7 };
9 struct B : A
11   B();
14 template<int> struct C
16   C(const B& = B());
19 C<0> c;