Sign in
gnu
/
gcc
/
refs/heads/devel/c++-contracts
/
.
/
gcc
/
testsuite
/
g++.dg
/
init
/
const14.C
blob: f29c7e58cfcdf2e776a17e91125a754d20696a5d [
file
] [
log
] [
blame
]
// PR c++/91529
// { dg-do run }
// { dg-additional-options -fmerge-all-constants }
struct
A
{
int
i
[
2
];
~
A
()
{
i
[
0
]
=
0
;
}
};
int
main
()
{
const
A a
=
{
1
,
2
};
}