summaryrefslogtreecommitdiff
path: root/testsuite/tests/module/mod42.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/module/mod42.stderr')
-rw-r--r--testsuite/tests/module/mod42.stderr8
1 files changed, 8 insertions, 0 deletions
diff --git a/testsuite/tests/module/mod42.stderr b/testsuite/tests/module/mod42.stderr
new file mode 100644
index 0000000000..319f42ba05
--- /dev/null
+++ b/testsuite/tests/module/mod42.stderr
@@ -0,0 +1,8 @@
+
+mod42.hs:3:10:
+ Illegal instance declaration for `Eq a'
+ (All instance types must be of the form (T a1 ... an)
+ where a1 ... an are *distinct type variables*,
+ and each type variable appears at most once in the instance head.
+ Use -XFlexibleInstances if you want to disable this.)
+ In the instance declaration for `Eq a'