summaryrefslogtreecommitdiff
path: root/testsuite/tests/lib/exceptions/exceptions001.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/lib/exceptions/exceptions001.hs')
-rw-r--r--testsuite/tests/lib/exceptions/exceptions001.hs7
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/tests/lib/exceptions/exceptions001.hs b/testsuite/tests/lib/exceptions/exceptions001.hs
new file mode 100644
index 0000000000..f5fcbf0087
--- /dev/null
+++ b/testsuite/tests/lib/exceptions/exceptions001.hs
@@ -0,0 +1,7 @@
+
+-- trac #2508
+
+import System.Exit
+import Control.OldException
+
+main = exitWith ExitSuccess `finally` return ()