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

     1  extern void abort(void);
     2  extern void exit(int);
     3  
     4  struct baz {
     5    int a, b, c;
     6  };
     7  
     8  void
     9  foo (int a, int b, int c)
    10  {
    11    if (a != 4)
    12      abort ();
    13  }
    14  
    15  void
    16  bar (struct baz x, int b, int c)
    17  {
    18    foo (x.b, b, c);
    19  }
    20  
    21  int
    22  main ()
    23  {
    24    struct baz x = { 3, 4, 5 };
    25    bar (x, 1, 2);
    26    exit (0);
    27  }