summaryrefslogtreecommitdiff
path: root/testsuite/tests/lib/IO/IOError002.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/lib/IO/IOError002.hs')
-rw-r--r--testsuite/tests/lib/IO/IOError002.hs5
1 files changed, 5 insertions, 0 deletions
diff --git a/testsuite/tests/lib/IO/IOError002.hs b/testsuite/tests/lib/IO/IOError002.hs
new file mode 100644
index 0000000000..144e62783b
--- /dev/null
+++ b/testsuite/tests/lib/IO/IOError002.hs
@@ -0,0 +1,5 @@
+-- !!! IOErrors should have Eq defined
+
+import System.IO
+
+main = print (userError "urk" == userError "urk")