summaryrefslogtreecommitdiff
path: root/test/Transforms/DeadArgElim/keepalive.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Transforms/DeadArgElim/keepalive.ll')
-rw-r--r--test/Transforms/DeadArgElim/keepalive.ll6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/Transforms/DeadArgElim/keepalive.ll b/test/Transforms/DeadArgElim/keepalive.ll
index 678033e2b5..899ebd93a4 100644
--- a/test/Transforms/DeadArgElim/keepalive.ll
+++ b/test/Transforms/DeadArgElim/keepalive.ll
@@ -1,6 +1,8 @@
; RUN: llvm-as < %s | opt -deadargelim | llvm-dis > %t
-; RUN: cat %t | grep {define internal zeroext i32 @test1() nounwind}
-; RUN: cat %t | grep {define internal \<\{ i32, i32 \}\> @test}
+; RUN: grep {define internal zeroext i32 @test1() nounwind} %t
+; RUN: grep {define internal %Ty @test2} %t
+
+%Ty = type <{ i32, i32 }>
; Check if the pass doesn't modify anything that doesn't need changing. We feed
; an unused argument to each function to lure it into changing _something_ about