Debian Codegraph @

gcc/testsuite/gcc.c-torture/execute/pr19689.c

raw
1 /* { dg-require-effective-target int32plus } */
2 extern void abort (void);
3
4 struct
5 {
6 int b : 29;
7 } f;
8
9 void foo (short j)
10 {
11 f.b = j;
12 }
13
14 int main()
15 {
16 foo (-55);
17 if (f.b != -55)
18 abort ();
19 return 0;
20 }