☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
template
/
ctor8.C
☽
☼
gcc/testsuite/g++.dg/template/ctor8.C
code
plain
raw
1
// PR c++/28711
2
// { dg-do compile }
3
// { dg-options "" }
4
5
template<int> struct A
6
{
7
int x[1][1];
8
A() : x((int[1][]){{0}}) {} // { dg-error "except the first" }
9
};
10
11
A<0> a;