summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/lto/pr28712_0.c
blob: dff029cadb18a75c505a19a531664842b5b0f970 (plain)
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; }