New testcase for infinite loop that the raise pass is getting into

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4087 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2002-10-09 00:09:59 +00:00
parent d1c657e2c7
commit b58d0d54a1

View File

@ -0,0 +1,10 @@
; Due to a recent change, this testcase now sends the raise pass into an infinite loop
;
; RUN: as < %s | opt -raise
implementation
void %test(sbyte* %P, void(...) * %F) {
call void (...)* %F(sbyte* %P)
ret void
}