mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-17 05:31:32 +00:00
Test that local variables are aligned as the user requested.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42338 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2f245ba572
commit
ca9976d6fe
7
test/CFrontend/2007-09-26-Alignment.c
Normal file
7
test/CFrontend/2007-09-26-Alignment.c
Normal file
@ -0,0 +1,7 @@
|
||||
// RUN: %llvmgcc -S %s -o - | grep {align 16}
|
||||
extern p(int *);
|
||||
int q(void) {
|
||||
int x __attribute__ ((aligned (16)));
|
||||
p(&x);
|
||||
return x;
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user