(root)/
gcc-13.2.0/
gcc/
testsuite/
c-c++-common/
pr96369.c
       1  /* { dg-do compile } */
       2  /* { dg-options "-O" } */
       3  
       4  int main()
       5  {
       6    const long ONE = 1L;
       7    long y = 0L;
       8    long x = ((long) (ONE || (y = 1L)) % 8L);
       9    if (y != 0)
      10      __builtin_abort ();
      11    return 0;
      12  }