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

are accessed with an alignment of 2 not 1.

llvm-svn: 43932
This commit is contained in:
Duncan Sands 2007-11-09 07:47:29 +00:00
parent 1445725759
commit 0c7fba914d
1 changed files with 3 additions and 0 deletions

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; }