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

     1  extern int ok (int);
     2  extern void exit ();
     3  static int gen_x86_64_shrd (int);
     4  static int
     5  gen_x86_64_shrd(int a __attribute__ ((__unused__)))
     6  {
     7    return 0;
     8  }
     9  
    10  extern int gen_x86_shrd_1 (int);
    11  extern void ix86_split_ashr (int);
    12  
    13  void
    14  ix86_split_ashr (int mode)
    15  {
    16            (mode != 0
    17                        ? ok
    18                        : gen_x86_64_shrd) (0);
    19  }
    20  
    21  volatile int one = 1;
    22  int
    23  main (void)
    24  {
    25    ix86_split_ashr (one);
    26    return 1;
    27  }
    28  
    29  int
    30  ok (int i)
    31  {
    32    exit (i);
    33  }