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

     1  int
     2  sub1 (int i, int j)
     3  {
     4    typedef int c[i+2];
     5    int x[10], y[10];
     6  
     7    if (j == 2)
     8      {
     9        memcpy (x, y, 10 * sizeof (int));
    10        return sizeof (c);
    11      }
    12    else
    13      return sizeof (c) * 3;
    14  }
    15  
    16  int
    17  main ()
    18  {
    19    if (sub1 (20, 3) != 66 * sizeof (int))
    20      abort ();
    21  
    22    return 0;
    23  }