Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
template
/
ctor8.C
blob: 859bded41971694cec9576487cb21c1dfb1ac2a7 [
file
] [
log
] [
blame
]
// PR c++/28711
// { dg-do compile }
// { dg-options "" }
template
<int>
struct
A
{
int
x
[
1
][
1
];
A
()
:
x
((
int
[
1
][]){{
0
}})
{}
// { dg-error "except the first" }
};
A
<
0
>
a
;