summaryrefslogtreecommitdiff
path: root/testsuite/tests/module/mod29.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/module/mod29.hs')
-rw-r--r--testsuite/tests/module/mod29.hs6
1 files changed, 6 insertions, 0 deletions
diff --git a/testsuite/tests/module/mod29.hs b/testsuite/tests/module/mod29.hs
new file mode 100644
index 0000000000..cce8eb5f5b
--- /dev/null
+++ b/testsuite/tests/module/mod29.hs
@@ -0,0 +1,6 @@
+-- !!! Testing for out of scope Prelude types.
+-- was: Imported tycon clashes with local definition
+-- (but that's OK, as long as the type isn't _used_.)
+module M where
+import Prelude(Int)
+type Int = Char