[PR c++/84702] ICE with default tmpl arg of overload set
[official-gcc.git] / gcc / testsuite / g++.dg / template / defarg2.C
blob3670389c5d0d1ac03e0c0da117b58cf25c149baf
1 struct X {
2     X ();
3 };
5 template <int> struct O {
6     struct I {
7         I (const X & = X());
8     };
9 };
10 template struct O<2>;