1 // RUN: %clang_cc1 -triple i686-windows-msvc -w -fdump-record-layouts-simple -foverride-record-layout=%S/Inputs/override-layout-packed-base.layout %s | FileCheck %s
3 //#pragma pack(push, 1)
5 // CHECK: Type: class B<0>
7 // CHECK: FieldOffsets: [0, 32]
9 // CHECK: Type: class B<1>
11 // CHECK: FieldOffsets: [0, 32]
19 // CHECK: Type: class C
21 // CHECK: FieldOffsets: [80]
23 class C
: B
<0>, B
<1> {
27 // CHECK: Type: class D
29 // CHECK: FieldOffsets: [32]
31 class D
: virtual B
<0>, virtual B
<1> {