diff options
Diffstat (limited to 'test/CodeGen/alignment.c')
-rw-r--r-- | test/CodeGen/alignment.c | 4 |
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; |