1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
/* PR c/28712 */ /* { dg-lto-do link } */ struct A; extern struct A *a; struct A { } __attribute__((packed)); struct B __attribute__((aligned (sizeof (int)))); extern struct B *b; struct B { int i; } __attribute__((packed)); int main() { return 0; }