mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-03 00:33:09 +00:00
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
This commit is contained in:
parent
6902e84ba0
commit
506f9089a4
3
test/CFrontend/2007-11-07-ZeroAggregateAlign.c
Normal file
3
test/CFrontend/2007-11-07-ZeroAggregateAlign.c
Normal file
@ -0,0 +1,3 @@
|
||||
// RUN: %llvmgcc -S %s -o - | grep "align 2"
|
||||
struct A { short s; short t; int i; };
|
||||
void q() { struct A a = {0}; }
|
Loading…
x
Reference in New Issue
Block a user