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

     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  }