summaryrefslogtreecommitdiff
path: root/testsuite/tests/module/mod38.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/module/mod38.hs')
-rw-r--r--testsuite/tests/module/mod38.hs4
1 files changed, 4 insertions, 0 deletions
diff --git a/testsuite/tests/module/mod38.hs b/testsuite/tests/module/mod38.hs
new file mode 100644
index 0000000000..1391fbaeaf
--- /dev/null
+++ b/testsuite/tests/module/mod38.hs
@@ -0,0 +1,4 @@
+-- !!! Class decl clashes with type decl
+module M where
+type C = Int
+class C a where f :: a