diff options
Diffstat (limited to 'test/Driver/fpack-struct.c')
-rw-r--r-- | test/Driver/fpack-struct.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/Driver/fpack-struct.c b/test/Driver/fpack-struct.c new file mode 100644 index 0000000..cc75da5 --- /dev/null +++ b/test/Driver/fpack-struct.c @@ -0,0 +1,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=EQ + +// CHECK: "-cc1" +// CHECK: "-fpack-struct=1" + +// CHECK-EQ: "-cc1" +// CHECK-EQ: "-fpack-struct=8" |