summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghci.debugger/scripts/break024.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/ghci.debugger/scripts/break024.hs')
-rw-r--r--testsuite/tests/ghci.debugger/scripts/break024.hs4
1 files changed, 4 insertions, 0 deletions
diff --git a/testsuite/tests/ghci.debugger/scripts/break024.hs b/testsuite/tests/ghci.debugger/scripts/break024.hs
new file mode 100644
index 0000000000..33c8ce6036
--- /dev/null
+++ b/testsuite/tests/ghci.debugger/scripts/break024.hs
@@ -0,0 +1,4 @@
+import Control.Exception as CE
+
+exception_uncaught = ioError (userError "error")
+exception_caught = CE.try exception_uncaught :: IO (Either CE.IOException ())