Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
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
;
}