diff options
author | Chris Lattner <sabre@nondot.org> | 2003-10-23 15:57:45 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-10-23 15:57:45 +0000 |
commit | 0655845a4a7ab19470c39d256f300f5b34492b9a (patch) | |
tree | 2a0a71171c16951d58307f52148a0184cb43aa2e | |
parent | de08597fe636ca31bfd535124a9cff4d2563d568 (diff) |
fix test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9409 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/Transforms/LowerSetJmp/simpletest.ll | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/Transforms/LowerSetJmp/simpletest.ll b/test/Transforms/LowerSetJmp/simpletest.ll index f7bef72b66..94a607a23e 100644 --- a/test/Transforms/LowerSetJmp/simpletest.ll +++ b/test/Transforms/LowerSetJmp/simpletest.ll @@ -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: |