diff options
Diffstat (limited to 'test/Transforms/SimplifyCFG/unwindto.ll')
-rw-r--r-- | test/Transforms/SimplifyCFG/unwindto.ll | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/Transforms/SimplifyCFG/unwindto.ll b/test/Transforms/SimplifyCFG/unwindto.ll index e42a831766..28d9d1e6e3 100644 --- a/test/Transforms/SimplifyCFG/unwindto.ll +++ b/test/Transforms/SimplifyCFG/unwindto.ll @@ -33,3 +33,11 @@ bb4: unwind_to %cleanup cleanup: ret i32 1 } + +define i32 @f3() { +entry: unwind_to %cleanup + call void @g(i32 0) + ret i32 0 +cleanup: + unwind +} |