llvm/clang/test/Driver/fpack-struct.c

// RUN: %clang -fpack-struct -### %s 2> %t
// RUN: FileCheck < %t %s
// RUN: %clang -fpack-struct=8 -### %s 2> %t
// RUN: FileCheck < %t %s --check-prefix=CHECK-EQ

// CHECK: "-cc1"
// CHECK: "-fpack-struct=1"

// CHECK-EQ: "-cc1"
// CHECK-EQ: "-fpack-struct=8"