Check that the first and third characters, s and u,

are accessed with an alignment of 2 not 1.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43932 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Duncan Sands 2007-11-09 07:47:29 +00:00
parent 506f9089a4
commit 38c576c56e

View File

@ -0,0 +1,3 @@
// RUN: %llvmgcc -S %s -o - | grep "align 2" | count 6
struct A { char s, t, u, v; short a; };
void q() { struct A a, b; a = b; }