summaryrefslogtreecommitdiff
path: root/testsuite/tests/module/mod40.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/module/mod40.hs')
-rw-r--r--testsuite/tests/module/mod40.hs4
1 files changed, 4 insertions, 0 deletions
diff --git a/testsuite/tests/module/mod40.hs b/testsuite/tests/module/mod40.hs
new file mode 100644
index 0000000000..5fc8a2e0f7
--- /dev/null
+++ b/testsuite/tests/module/mod40.hs
@@ -0,0 +1,4 @@
+-- !!! Cyclic class hierarchy
+module M where
+class C2 a => C1 a where f :: a
+class C1 a => C2 a where g :: a