PR target/52076
[official-gcc.git] / gcc / testsuite / gcc.target / m68k / pr52076-2.c
blob30c6991839cce1157d49114d7856da506cf92bc0
1 /* { dg-do assemble } /*
2 /* { dg-options "-Os -fomit-frame-pointer -m68040" } */
3 /* { dg-final { object-size text <= 30 } } */
5 struct kobject {
6 unsigned int b7:1;
7 unsigned int b56:2;
8 unsigned int b1234:4;
9 unsigned int b0:1;
10 unsigned char x;
11 unsigned int f;
14 void b7(struct kobject *kobj)
16 kobj->b7 = 1;
19 void b56(struct kobject *kobj)
21 kobj->b56 = 3;
24 void b1234(struct kobject *kobj)
26 kobj->b1234 = 15;