Sign in
gnu
/
gcc
/
e8cbc2e256b3e9568288594d9f90a2015d31b55a
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.bob
/
packed1.C
blob: 86a946fc363d982074e8e831afac04469c34439e [
file
] [
log
] [
blame
]
int
main
()
{
struct
s
{
int
a
;
short
b
;
}
__attribute__
((
packed
))
t
;
if
(
sizeof
(
t
)
!=
(
sizeof
(
int
)+
sizeof
(
short
)))
{
return
1
;
}
else
{
return
0
;
}
}