1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00

Add new test that causes infinite recursion in bu pass

llvm-svn: 4669
This commit is contained in:
Chris Lattner 2002-11-10 06:41:07 +00:00
parent 96d1bfd014
commit b5493b772c

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
}