☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp1z
/
class-deduction43.C
☽
☼
gcc/testsuite/g++.dg/cpp1z/class-deduction43.C
code
plain
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 "" }