adjust test to make it more robust

llvm-svn: 65739
This commit is contained in:
Chris Lattner 2009-03-01 00:24:40 +00:00
parent 3243ea111e
commit b23aad01de
1 changed files with 4 additions and 2 deletions

View File

@ -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