summaryrefslogtreecommitdiff
path: root/testsuite/tests/module/mod127.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/module/mod127.hs')
-rw-r--r--testsuite/tests/module/mod127.hs7
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/tests/module/mod127.hs b/testsuite/tests/module/mod127.hs
new file mode 100644
index 0000000000..4b869f79fd
--- /dev/null
+++ b/testsuite/tests/module/mod127.hs
@@ -0,0 +1,7 @@
+-- !!! hiding an entity T (where T is both a class and a dcon.)
+module M where
+
+import Mod127_A hiding (T)
+
+x :: T a => a -> a
+x = undefined