Debian Codegraph @

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

raw
1 // PR c++/79790
2 // { dg-do compile { target c++17 } }
3
4 template <int N>
5 struct array
6 {
7 int a [N];
8 };
9
10 array a = { 1, 2, 3 }; // { dg-error "" }