summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/lto/pr28712_2.c
blob: 1937e88b590ed2024a39e328ba19ac7b081e4ee8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* PR c/28712 */

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));