blob: d44b54db9a0423759265e0f562117f7b6e8ea105 [file] [log] [blame]
extern void abort (void);
int test(int n)
{
struct s { char b[n]; } __attribute__((packed));
n++;
return sizeof(struct s);
}
int main()
{
if (test(123) != 123)
abort ();
return 0;
}