Skip to content

Commit 2012d84

Browse files
committed
Strength test.
llvm-svn: 61755
1 parent 582c53d commit 2012d84

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

llvm/test/FrontendC/2009-01-05-BlockInlining.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
// RUN: %llvmgcc %s -S -emit-llvm -O2 -o - | grep {call i32 .*printf.*argc} | count 3
1+
// RUN: %llvmgcc %s -S -emit-llvm -O2 -o %t.s
2+
// RUN: grep {call i32 .*printf.*argc} %t.s | count 3
3+
// RUN: not grep __block_holder_tmp %t.s
24
// rdar://5865221
35

46
// All of these should be inlined equivalently into a single printf call.

0 commit comments

Comments
 (0)