Sign in
gnu
/
gcc
/
b1143e51359be3b1151d892970f43ae67dee64d2
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.other
/
init6.C
blob: a684ae107402253cf9d36d41538a9ae3e79187f6 [
file
] [
log
] [
blame
]
// Test for default-initialization of POD-structs in functional cast notation.
struct
foo
{
int
a
[
10
];
};
int
main
()
{
foo f
=
foo
();
int
r
=
0
;
for
(
int
i
=
0
;
i
<
10
;
++
i
)
r
|=
f
.
a
[
i
];
return
r
;
}