diff options
author | Chris Lattner <sabre@nondot.org> | 2011-12-19 21:11:59 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2011-12-19 21:11:59 +0000 |
commit | 4f1aefce52f3878cb5afeed6fdad926c7b4da603 (patch) | |
tree | 8c47c99a470407cc4c5a36e319200dbbd5d65c87 /test/CodeGen/alignment.c | |
parent | e5d0f4c68a825f195aba9c62fa738decf093ecc4 (diff) |
filecheckize.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@146907 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/alignment.c')
-rw-r--r-- | test/CodeGen/alignment.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/test/CodeGen/alignment.c b/test/CodeGen/alignment.c index fefd35ab63..831e850f88 100644 --- a/test/CodeGen/alignment.c +++ b/test/CodeGen/alignment.c @@ -1,4 +1,7 @@ -// RUN: %clang_cc1 -emit-llvm %s -o - | grep "align 16" | count 2 +// RUN: %clang_cc1 -emit-llvm %s -o - | FileCheck %s __attribute((aligned(16))) float a[128]; -union {int a[4]; __attribute((aligned(16))) float b[4];} u; +union {int a[4]; __attribute((aligned(16))) float b[4];} b; + +// CHECK: @a = {{.*}}zeroinitializer, align 16 +// CHECK: @b = {{.*}}zeroinitializer, align 16 |