llvm-for-llvmta/tools/clang/test/Driver/fpack-struct.c

11 lines
262 B
C
Raw Normal View History

2022-04-25 13:02:35 +02:00
// 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"