llvm-6502/test/CFrontend/2007-11-07-ZeroAggregateAlign.c
Duncan Sands 506f9089a4 Check that accesses to the second short, t, have
an alignment of 2 rather than 4.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43931 91177308-0d34-0410-b5e6-96231b3b80d8
2007-11-09 07:46:02 +00:00

4 lines
115 B
C

// RUN: %llvmgcc -S %s -o - | grep "align 2"
struct A { short s; short t; int i; };
void q() { struct A a = {0}; }