fix test
authorChris Lattner <sabre@nondot.org>
Thu, 23 Oct 2003 15:57:45 +0000 (15:57 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 23 Oct 2003 15:57:45 +0000 (15:57 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9409 91177308-0d34-0410-b5e6-96231b3b80d8

test/Transforms/LowerSetJmp/simpletest.ll

index f7bef72b660619b3ad110897d60463dba32e37fe..94a607a23e02fc3519159df73bb94cf0f883c8e6 100644 (file)
@@ -8,12 +8,15 @@ implementation
 declare void %llvm.longjmp(%JmpBuf *%B, int %Val)
 declare int %llvm.setjmp(%JmpBuf *%B)
 
+declare void %foo()
+
 int %simpletest() {
        %B = alloca %JmpBuf
        %Val = call int %llvm.setjmp(%JmpBuf* %B)
        %V = cast int %Val to bool
        br bool %V, label %LongJumped, label %Normal
 Normal:
+       call void %foo()
        call void %llvm.longjmp(%JmpBuf* %B, int 42)
        ret int 0 ;; not reached
 LongJumped: