(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.c-torture/
execute/
pr58943.c
       1  /* PR c/58943 */
       2  
       3  unsigned int x[1] = { 2 };
       4  
       5  unsigned int
       6  foo (void)
       7  {
       8    x[0] |= 128;
       9    return 1;
      10  }
      11  
      12  int
      13  main ()
      14  {
      15    x[0] |= foo ();
      16    if (x[0] != 131)
      17      __builtin_abort ();
      18    return 0;
      19  }