Test that local variables are aligned as the user requested.

llvm-svn: 42338
This commit is contained in:
Duncan Sands 2007-09-26 04:04:29 +00:00
parent 0a6f47cff9
commit 9b626f0ada
1 changed files with 7 additions and 0 deletions

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