1 // RUN: %clang_cc1 -triple powerpc-ibm-aix-xcoff -fdump-record-layouts %s | \
4 // RUN: %clang_cc1 -triple powerpc64-ibm-aix-xcoff -fdump-record-layouts %s | \
8 typedef double __attribute__((__aligned__(2))) Dbl
;
15 // CHECK: 0 | struct test1::A
16 // CHECK-NEXT: 0 | Dbl x
17 // CHECK-NEXT: | [sizeof=8, dsize=8, align=2, preferredalign=2,
18 // CHECK-NEXT: | nvsize=8, nvalign=2, preferrednvalign=2]
23 typedef double Dbl
__attribute__((__aligned__(2)));
33 // CHECK: 0 | union test2::U
34 // CHECK-NEXT: 0 | DblArr da
35 // CHECK-NEXT: 0 | char x
36 // CHECK-NEXT: | [sizeof=2, dsize=2, align=2, preferredalign=2,
37 // CHECK-NEXT: | nvsize=2, nvalign=2, preferrednvalign=2]
42 typedef double DblArr
[] __attribute__((__aligned__(2)));
51 // CHECK: 0 | union test3::U
52 // CHECK-NEXT: 0 | DblArr da
53 // CHECK-NEXT: 0 | char x
54 // CHECK-NEXT: | [sizeof=2, dsize=2, align=2, preferredalign=2,
55 // CHECK-NEXT: | nvsize=2, nvalign=2, preferrednvalign=2]
60 typedef double Dbl
__attribute__((__aligned__(2)));
69 // CHECK: 0 | union test4::U
70 // CHECK-NEXT: 0 | Dbl[] DblArr
71 // CHECK-NEXT: 0 | char x
72 // CHECK-NEXT: | [sizeof=2, dsize=2, align=2, preferredalign=2,
73 // CHECK-NEXT: | nvsize=2, nvalign=2, preferrednvalign=2]