aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2009-01-05 21:27:59 +0000
committerBill Wendling <isanbard@gmail.com>2009-01-05 21:27:59 +0000
commite6a1fe560745b65ade854ad3b4a228293d234090 (patch)
treedc368ddddbdc0b2c4950bdcc7c7cbec905454e48
parent27a53009efcf1b0334dc17c3d54382798686ff59 (diff)
Strength test.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61755 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/FrontendC/2009-01-05-BlockInlining.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/FrontendC/2009-01-05-BlockInlining.c b/test/FrontendC/2009-01-05-BlockInlining.c
index 64e6c07a77..9692d8f688 100644
--- a/test/FrontendC/2009-01-05-BlockInlining.c
+++ b/test/FrontendC/2009-01-05-BlockInlining.c
@@ -1,4 +1,6 @@
-// RUN: %llvmgcc %s -S -emit-llvm -O2 -o - | grep {call i32 .*printf.*argc} | count 3
+// RUN: %llvmgcc %s -S -emit-llvm -O2 -o %t.s
+// RUN: grep {call i32 .*printf.*argc} %t.s | count 3
+// RUN: not grep __block_holder_tmp %t.s
// rdar://5865221
// All of these should be inlined equivalently into a single printf call.