Debian Codegraph @

gcc/testsuite/g++.dg/cpp1z/class-deduction24.C

raw
1 // PR c++/78894
2 // { dg-do compile { target c++17 } }
3
4 struct A
5 {
6 A ();
7 };
8 template <typename T>
9 struct C
10 {
11 C (int, const T &, const A & = A ());
12 };
13
14 C a = { 0, 0 };