summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/T18851.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/typecheck/should_fail/T18851.stderr')
-rw-r--r--testsuite/tests/typecheck/should_fail/T18851.stderr7
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/tests/typecheck/should_fail/T18851.stderr b/testsuite/tests/typecheck/should_fail/T18851.stderr
new file mode 100644
index 0000000000..613435041c
--- /dev/null
+++ b/testsuite/tests/typecheck/should_fail/T18851.stderr
@@ -0,0 +1,7 @@
+
+T18851.hs:35:5: error:
+ • Couldn't match type ‘B’ with ‘A’
+ arising from a superclass required to satisfy ‘C int0 A’,
+ arising from a use of ‘f’
+ • In the expression: f @A @B
+ In an equation for ‘g’: g = f @A @B