summaryrefslogtreecommitdiff
path: root/testsuite/tests/module/mod41.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/module/mod41.hs')
-rw-r--r--testsuite/tests/module/mod41.hs3
1 files changed, 3 insertions, 0 deletions
diff --git a/testsuite/tests/module/mod41.hs b/testsuite/tests/module/mod41.hs
new file mode 100644
index 0000000000..a1ac924242
--- /dev/null
+++ b/testsuite/tests/module/mod41.hs
@@ -0,0 +1,3 @@
+-- !!! Repeated variable in instance predicate
+module M where
+instance Eq a => Eq (Either a a)