summaryrefslogtreecommitdiff
path: root/testsuite/tests/module/mod129.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/module/mod129.hs')
-rw-r--r--testsuite/tests/module/mod129.hs8
1 files changed, 8 insertions, 0 deletions
diff --git a/testsuite/tests/module/mod129.hs b/testsuite/tests/module/mod129.hs
new file mode 100644
index 0000000000..4229e9e88a
--- /dev/null
+++ b/testsuite/tests/module/mod129.hs
@@ -0,0 +1,8 @@
+-- !!! hiding class members (but not class.)
+module M where
+
+import Prelude hiding ( (<), (>))
+
+x :: Ord a => a -> a
+x = undefined
+