summaryrefslogtreecommitdiff
path: root/testsuite/tests/module/mod47.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/module/mod47.stderr')
-rw-r--r--testsuite/tests/module/mod47.stderr9
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/tests/module/mod47.stderr b/testsuite/tests/module/mod47.stderr
new file mode 100644
index 0000000000..1b8fd0b411
--- /dev/null
+++ b/testsuite/tests/module/mod47.stderr
@@ -0,0 +1,9 @@
+
+mod47.hs:6:10:
+ Could not deduce (Num a)
+ arising from the superclasses of an instance declaration
+ from the context (Eq a, Enum a)
+ bound by the instance declaration at mod47.hs:6:10-34
+ Possible fix:
+ add (Num a) to the context of the instance declaration
+ In the instance declaration for `Bar [a]'