From: Duncan Sands Date: Fri, 9 Nov 2007 07:47:29 +0000 (+0000) Subject: Check that the first and third characters, s and u, X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=38c576c56e89b6dd232d3c072a1294cd1e519135;p=oota-llvm.git 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 --- diff --git a/test/CFrontend/2007-11-07-CopyAggregateAlign.c b/test/CFrontend/2007-11-07-CopyAggregateAlign.c new file mode 100644 index 00000000000..8bd94b00a78 --- /dev/null +++ b/test/CFrontend/2007-11-07-CopyAggregateAlign.c @@ -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; }