diff options
Diffstat (limited to 'test/Transforms/SimplifyCFG/2003-08-05-InvokeCrash.ll')
-rw-r--r-- | test/Transforms/SimplifyCFG/2003-08-05-InvokeCrash.ll | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/Transforms/SimplifyCFG/2003-08-05-InvokeCrash.ll b/test/Transforms/SimplifyCFG/2003-08-05-InvokeCrash.ll new file mode 100644 index 0000000000..0dafdd9e66 --- /dev/null +++ b/test/Transforms/SimplifyCFG/2003-08-05-InvokeCrash.ll @@ -0,0 +1,9 @@ +; Do not remove the invoke! +; +; RUN: as < %s | opt -simplifycfg -disable-output + +int %test() { + %A = invoke int %test() to label %Ret except label %Ret +Ret: + ret int %A +} |