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

     1  typedef struct trio { int a, b, c; } trio;
     2  
     3  int
     4  bar (int i, int j, int k, trio t)
     5  {
     6    if (t.a != 1 || t.b != 2 || t.c != 3 ||
     7        i != 4 || j != 5 || k != 6)
     8      abort ();
     9  }
    10  
    11  int
    12  foo (trio t, int i, int j, int k)
    13  {
    14    return bar (i, j, k, t);
    15  }
    16  
    17  main ()
    18  {
    19    trio t = { 1, 2, 3 };
    20  
    21    foo (t, 4, 5, 6);
    22    exit (0);
    23  }