// RUN: %clang_cc1 -w -fdump-record-layouts-simple %s > %t.layouts
// RUN: %clang_cc1 -w -DPACKED= -DALIGNED16= -fdump-record-layouts-simple -foverride-record-layout=%t.layouts %s > %t.after
// RUN: diff %t.layouts %t.after
// RUN: FileCheck %s < %t.after
// If not explicitly disabled, set PACKED to the packed attribute.
// If not explicitly disabled, set ALIGNED16 to 16-byte alignment.
// CHECK: Type: struct X0
;
void ;
// CHECK: Type: struct X1
PACKED;
void ;
// CHECK: Type: struct X2
;
void ;
// CHECK: Type: struct X3
;
void ;
// CHECK: Type: struct X4
;
void ;
// CHECK: Type: struct X5
;
void ;
// CHECK: Type: struct X6
;
void ;
// CHECK: Type: struct X7
PACKED;
void
// CHECK: Type: union X8
PACKED;
// CHECK: Type: struct X9
;
// CHECK: Type: struct X10
;
// CHECK: Type: struct X11
;
// CHECK: Type: struct X12
;
// CHECK: Type: struct X13
;
// CHECK: Type: union X14
;
// CHECK: Type: struct X15
;
// CHECK: Type: struct X16
;
void