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