summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/alignment.c
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2011-12-19 21:10:59 +0000
committerChris Lattner <sabre@nondot.org>2011-12-19 21:10:59 +0000
commite5d0f4c68a825f195aba9c62fa738decf093ecc4 (patch)
treed9046d5bb2e1546e74b168330fb45379c7930714 /test/CodeGen/alignment.c
parenta126651270acf17c434f60f86a3ab3687f87813a (diff)
rename test.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@146906 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/alignment.c')
-rw-r--r--test/CodeGen/alignment.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/CodeGen/alignment.c b/test/CodeGen/alignment.c
new file mode 100644
index 0000000000..fefd35ab63
--- /dev/null
+++ b/test/CodeGen/alignment.c
@@ -0,0 +1,4 @@
+// RUN: %clang_cc1 -emit-llvm %s -o - | grep "align 16" | count 2
+
+__attribute((aligned(16))) float a[128];
+union {int a[4]; __attribute((aligned(16))) float b[4];} u;