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 | 494f431097764eae17571db533c808f2a386b93e (patch) | |
tree | 5cea04313b5052b90e3c4dd25f09408895a0f5b2 /clang/test/CodeGen/alignment.c | |
parent | 7e588a8db051091a7b8a0d866f903bf8e06af6c6 (diff) | |
download | bcm5719-llvm-494f431097764eae17571db533c808f2a386b93e.tar.gz bcm5719-llvm-494f431097764eae17571db533c808f2a386b93e.zip |
filecheckize.
llvm-svn: 146907
Diffstat (limited to 'clang/test/CodeGen/alignment.c')
-rw-r--r-- | clang/test/CodeGen/alignment.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/clang/test/CodeGen/alignment.c b/clang/test/CodeGen/alignment.c index fefd35ab634..831e850f88f 100644 --- a/clang/test/CodeGen/alignment.c +++ b/clang/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 |