xref: /llvm-project/clang/test/Driver/fpack-struct.c (revision 19ae1175ae8d2597d16ea5ce7bb9f0993cd6765c)
1cebf75e8SJames Molloy // RUN: %clang -fpack-struct -### %s 2> %t
2cebf75e8SJames Molloy // RUN: FileCheck < %t %s
3cebf75e8SJames Molloy // RUN: %clang -fpack-struct=8 -### %s 2> %t
4*19ae1175STim Northover // RUN: FileCheck < %t %s --check-prefix=CHECK-EQ
5cebf75e8SJames Molloy 
6cebf75e8SJames Molloy // CHECK: "-cc1"
7cebf75e8SJames Molloy // CHECK: "-fpack-struct=1"
8cebf75e8SJames Molloy 
9cebf75e8SJames Molloy // CHECK-EQ: "-cc1"
10cebf75e8SJames Molloy // CHECK-EQ: "-fpack-struct=8"
11