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

     1  /* PR middle-end/48973 */
     2  
     3  extern void abort (void);
     4  struct S { int f : 1; } s;
     5  int v = -1;
     6  
     7  void
     8  foo (unsigned int x)
     9  {
    10    if (x != -1U)
    11      abort ();
    12  }
    13  
    14  int
    15  main ()
    16  {
    17    s.f = (v & 1) > 0;
    18    foo (s.f);
    19    return 0;
    20  }