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

     1  extern void abort (void);
     2  
     3  int test(int n)
     4  {
     5    struct s { char b[n]; } __attribute__((packed));
     6    n++;
     7    return sizeof(struct s);
     8  }
     9  
    10  int main()
    11  {
    12    if (test(123) != 123)
    13      abort ();
    14    return 0;
    15  }