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