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

     1  /* PR 8848 */
     2  
     3  extern void abort ();
     4  
     5  int foo(int status)
     6  {
     7    int s = 0;
     8    if (status == 1) s=1;
     9    if (status == 3) s=3;
    10    if (status == 4) s=4;
    11    return s;
    12  }
    13  
    14  int main()
    15  {
    16    if (foo (3) != 3)
    17      abort ();
    18    return 0;
    19  }