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