freebsd-skq/test/Driver/fpack-struct.c

11 lines
262 B
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"