diff options
Diffstat (limited to 'test/FrontendC/2007-11-07-ZeroAggregateAlign.c')
-rw-r--r-- | test/FrontendC/2007-11-07-ZeroAggregateAlign.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/FrontendC/2007-11-07-ZeroAggregateAlign.c b/test/FrontendC/2007-11-07-ZeroAggregateAlign.c new file mode 100644 index 0000000..424120d --- /dev/null +++ b/test/FrontendC/2007-11-07-ZeroAggregateAlign.c @@ -0,0 +1,3 @@ +// RUN: %llvmgcc -S %s -o - | grep "align 2" +struct A { short s; short t; int i; }; +void q() { struct A a = {0}; } |