diff options
Diffstat (limited to 'gcc/testsuite/gcc.dg/lto/pr28712_1.c')
-rw-r--r-- | gcc/testsuite/gcc.dg/lto/pr28712_1.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/lto/pr28712_1.c b/gcc/testsuite/gcc.dg/lto/pr28712_1.c new file mode 100644 index 000000000..8a322457f --- /dev/null +++ b/gcc/testsuite/gcc.dg/lto/pr28712_1.c @@ -0,0 +1,12 @@ +/* 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)); |