Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
torture
/
pr53970.C
blob: 53cbc1f855a523e5d108727b498a5f9fbbce996a [
file
] [
log
] [
blame
]
// { dg-do run }
#pragma
pack
(
1
)
struct
mystruct
{
char
c
;
unsigned
long
l
[
1024
];
};
#pragma
pack
()
int
main
(
int
argc
,
char
**
argv
)
{
mystruct
*
a
=
new
mystruct
;
unsigned
long
i
;
for
(
i
=
0
;
i
<
1024
;
++
i
)
a
->
l
[
i
]
=
0xdeadbeaf
;
return
0
;
}