1 // RUN: %clang_cc1 -triple powerpc-ibm-aix-xcoff -Wpacked \
2 // RUN: -fdump-record-layouts -fsyntax-only -verify -x c++ < %s | \
5 // RUN: %clang_cc1 -triple powerpc64-ibm-aix-xcoff -Wpacked \
6 // RUN: -fdump-record-layouts -fsyntax-only -verify -x c++ < %s | \
9 // expected-no-diagnostics
19 struct [[gnu::packed
]] C
: B
, A
{
25 // CHECK: 0 | struct C
26 // CHECK-NEXT: 0 | struct B (base)
27 // CHECK-NEXT: 0 | char[8] x
28 // CHECK-NEXT: 8 | struct A (base)
29 // CHECK-NEXT: 8 | double d
30 // CHECK-NEXT: 16 | char[8] x
31 // CHECK-NEXT: | [sizeof=24, dsize=24, align=4, preferredalign=4,
32 // CHECK-NEXT: | nvsize=24, nvalign=4, preferrednvalign=4]