diff options
Diffstat (limited to 'test/CFrontend')
-rw-r--r-- | test/CFrontend/2007-09-26-Alignment.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/CFrontend/2007-09-26-Alignment.c b/test/CFrontend/2007-09-26-Alignment.c new file mode 100644 index 0000000..1638fed --- /dev/null +++ b/test/CFrontend/2007-09-26-Alignment.c @@ -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; +} |