summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/tcfail139.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/typecheck/should_fail/tcfail139.stderr')
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail139.stderr7
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/tests/typecheck/should_fail/tcfail139.stderr b/testsuite/tests/typecheck/should_fail/tcfail139.stderr
new file mode 100644
index 0000000000..91559a9f68
--- /dev/null
+++ b/testsuite/tests/typecheck/should_fail/tcfail139.stderr
@@ -0,0 +1,7 @@
+
+tcfail139.hs:6:10:
+ Illegal instance declaration for `Bounded Foo'
+ (All instance types must be of the form (T t1 ... tn)
+ where T is not a synonym.
+ Use -XTypeSynonymInstances if you want to disable this.)
+ In the instance declaration for `Bounded Foo'