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

llvm-svn: 43931
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}; }