Add new test that causes infinite recursion in bu pass

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4669 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2002-11-10 06:41:07 +00:00
parent a2b8d7bff2
commit e9a1cbbfe0

View File

@ -0,0 +1,24 @@
implementation ; Functions:
declare void %__main()
void %A(int* %L) {
bb0: ; No predecessors!
call void %B( int* %L )
call void %A( int* %L )
ret void
}
void %B(int* %L) {
bb0: ; No predecessors!
call void %A( int* %L )
ret void
}
void %main() {
bb0: ; No predecessors!
call void %__main( )
call void %A( int* null )
ret void
}