summaryrefslogtreecommitdiff
path: root/test/Driver/fpack-struct.c
blob: da98ae948b7b2d7706f7b5d18284fe815950305b (plain)
1
2
3
4
5
6
7
8
9
10
// 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"