| 1 | // RUN: %clang_cc1 -emit-llvm %s -o - |
|---|---|
| 2 | // PR2987 |
| 3 | struct S2045 |
| 4 | { |
| 5 | unsigned short int a; |
| 6 | union { } b; |
| 7 | union __attribute__ ((aligned (4))) { } c[0]; |
| 8 | }; |
| 9 | struct S2045 s2045; |
| 10 |
| 1 | // RUN: %clang_cc1 -emit-llvm %s -o - |
|---|---|
| 2 | // PR2987 |
| 3 | struct S2045 |
| 4 | { |
| 5 | unsigned short int a; |
| 6 | union { } b; |
| 7 | union __attribute__ ((aligned (4))) { } c[0]; |
| 8 | }; |
| 9 | struct S2045 s2045; |
| 10 |