Sign in
gnu
/
gcc
/
refs/heads/devel/c++-contracts
/
.
/
gcc
/
testsuite
/
g++.dg
/
init
/
new31.C
blob: 33c94aaabaa7a4f0d8bf8bed333fae4c3c1bb950 [
file
] [
log
] [
blame
]
// PR c++/48834
// { dg-options -Wuninitialized }
// { dg-do run }
struct
S
{
S
():
i
(
0
)
{
}
int
i
;
};
int
main
()
{
S
*
s
=
new
S
[
2
];
return
0
;
}