summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/T16059a.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/typecheck/should_fail/T16059a.stderr')
-rw-r--r--testsuite/tests/typecheck/should_fail/T16059a.stderr9
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/tests/typecheck/should_fail/T16059a.stderr b/testsuite/tests/typecheck/should_fail/T16059a.stderr
new file mode 100644
index 0000000000..2768220653
--- /dev/null
+++ b/testsuite/tests/typecheck/should_fail/T16059a.stderr
@@ -0,0 +1,9 @@
+
+T16059a.hs:8:6: error:
+ • Illegal constraint in a kind: Eq b => b
+ • In the type signature: f :: forall b (a :: Eq b => b). Int
+
+T16059a.hs:11:6: error:
+ • Illegal constraint in a kind: Eq b => b
+ • In the expansion of type synonym ‘Foo’
+ In the type signature: g :: forall b (a :: Foo b). Int