(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.c-torture/
execute/
pr35231.c
       1  extern void abort(void);
       2  
       3  int __attribute__((noinline))
       4  foo(int bits_per_pixel, int depth)
       5  {
       6    if ((bits_per_pixel | depth) == 1)
       7      abort ();
       8    return bits_per_pixel;
       9  }
      10  
      11  int main()
      12  {
      13    if (foo(2, 0) != 2)
      14      abort ();
      15    return 0;
      16  }