summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/cleanup-stack.c
diff options
context:
space:
mode:
authorJustin Bogner <mail@justinbogner.com>2015-01-24 17:39:36 +0000
committerJustin Bogner <mail@justinbogner.com>2015-01-24 17:39:36 +0000
commit9fa8c9984c78dccf82cbfda8d261f0c43f9018c5 (patch)
tree4a2624688333023d5357508ace15f66fedc38f78 /clang/test/CodeGen/cleanup-stack.c
parent2af264a44a59ad5725338bc9f889d1c84c275be7 (diff)
downloadbcm5719-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/cleanup-stack.c')
-rw-r--r--clang/test/CodeGen/cleanup-stack.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/CodeGen/cleanup-stack.c b/clang/test/CodeGen/cleanup-stack.c
index 72a1a6c751a..6448aac2384 100644
--- a/clang/test/CodeGen/cleanup-stack.c
+++ b/clang/test/CodeGen/cleanup-stack.c
@@ -1,5 +1,5 @@
-// RUN: %clang_cc1 -triple i386-unknown-unknown -O3 -emit-llvm %s -o %t
-// RUN: grep "ret i32 9" %t
+// RUN: %clang_cc1 -triple i386-unknown-unknown -O3 -emit-llvm %s -o - | FileCheck %s
+// CHECK: ret i32 9
struct s0 {
int *var;
OpenPOWER on IntegriCloud