From 86249633efc5f0e9cac6172526cfaf9e143ad7f6 Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Mon, 5 Jan 2009 21:27:59 +0000 Subject: [PATCH] Strength test. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61755 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/FrontendC/2009-01-05-BlockInlining.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/FrontendC/2009-01-05-BlockInlining.c b/test/FrontendC/2009-01-05-BlockInlining.c index 64e6c07a77e..9692d8f688a 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. -- 2.11.0