modernc.org/ccgo/v3@v3.16.14/lib/testdata/gcc-9.1.0/gcc/testsuite/gcc.c-torture/execute/pr19689.c (about)

     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  }