diff options
Diffstat (limited to 'testsuite/tests/module/mod31.hs')
-rw-r--r-- | testsuite/tests/module/mod31.hs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/testsuite/tests/module/mod31.hs b/testsuite/tests/module/mod31.hs new file mode 100644 index 0000000000..70f66a391e --- /dev/null +++ b/testsuite/tests/module/mod31.hs @@ -0,0 +1,5 @@ +-- !!! Defining local type with same name as imported class +-- was: Imported class clashes with local type definition +module M where +import Prelude(Eq,Bool) +type Eq = Bool |