tree-optimization/116905 - ICE with bogus range ops
[official-gcc.git] / gcc / testsuite / g++.dg / cpp1z / class-deduction24.C
blob1d05a0867ffa7d512a4cf1eaaea7d6575d988053
1 // PR c++/78894
2 // { dg-do compile { target c++17 } }
4 struct A
6   A ();
7 };
8 template <typename T>
9 struct C
11   C (int, const T &, const A & = A ());
14 C a = { 0, 0 };