diff options
author | Justin Bogner <mail@justinbogner.com> | 2015-01-24 17:39:36 +0000 |
---|---|---|
committer | Justin Bogner <mail@justinbogner.com> | 2015-01-24 17:39:36 +0000 |
commit | 9fa8c9984c78dccf82cbfda8d261f0c43f9018c5 (patch) | |
tree | 4a2624688333023d5357508ace15f66fedc38f78 /clang/test/CodeGen/align-local.c | |
parent | 2af264a44a59ad5725338bc9f889d1c84c275be7 (diff) | |
download | bcm5719-llvm-9fa8c9984c78dccf82cbfda8d261f0c43f9018c5.tar.gz bcm5719-llvm-9fa8c9984c78dccf82cbfda8d261f0c43f9018c5.zip |
test: Convert some tests to FileCheck
These were all doing trivial greps. It's better to use FileCheck.
llvm-svn: 227007
Diffstat (limited to 'clang/test/CodeGen/align-local.c')
-rw-r--r-- | clang/test/CodeGen/align-local.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/clang/test/CodeGen/align-local.c b/clang/test/CodeGen/align-local.c index b839ee14a10..c8b27a83c3f 100644 --- a/clang/test/CodeGen/align-local.c +++ b/clang/test/CodeGen/align-local.c @@ -1,7 +1,9 @@ -// RUN: %clang_cc1 -emit-llvm < %s | grep "align 16" | count 2 +// RUN: %clang_cc1 -emit-llvm < %s | FileCheck %s typedef struct __attribute((aligned(16))) {int x[4];} ff; +// CHECK: alloca %struct.ff, align 16 +// CHECK: alloca %struct.anon, align 16 int a() { ff a; struct {int x[4];} b __attribute((aligned(16))); |