(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.c-torture/
execute/
20041218-2.c
       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  }