xref: /minix3/external/bsd/llvm/dist/clang/test/Driver/fpack-struct.c (revision f4a2713ac843a11c696ec80c0a5e3e5d80b4d338)
1*f4a2713aSLionel Sambuc // RUN: %clang -fpack-struct -### %s 2> %t
2*f4a2713aSLionel Sambuc // RUN: FileCheck < %t %s
3*f4a2713aSLionel Sambuc // RUN: %clang -fpack-struct=8 -### %s 2> %t
4*f4a2713aSLionel Sambuc // RUN: FileCheck < %t %s --check-prefix=CHECK-EQ
5*f4a2713aSLionel Sambuc 
6*f4a2713aSLionel Sambuc // CHECK: "-cc1"
7*f4a2713aSLionel Sambuc // CHECK: "-fpack-struct=1"
8*f4a2713aSLionel Sambuc 
9*f4a2713aSLionel Sambuc // CHECK-EQ: "-cc1"
10*f4a2713aSLionel Sambuc // CHECK-EQ: "-fpack-struct=8"
11