Debian Codegraph @

gcc/testsuite/gcc.c-torture/execute/struct-ini-3.c

raw
1 void abort (void);
2 void exit (int);
3
4 struct
5 {
6 unsigned int f1:1, f2:1, f3:3, f4:3, f5:2, f6:1, f7:1;
7 } result = {1, 1, 7, 7, 3, 1, 1};
8
9 int
10 main (void)
11 {
12 if ((result.f3 & ~7) != 0 || (result.f4 & ~7) != 0)
13 abort ();
14 exit (0);
15 }