summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/T8392a.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/typecheck/should_fail/T8392a.stderr')
-rw-r--r--testsuite/tests/typecheck/should_fail/T8392a.stderr7
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/tests/typecheck/should_fail/T8392a.stderr b/testsuite/tests/typecheck/should_fail/T8392a.stderr
new file mode 100644
index 0000000000..6e102227cf
--- /dev/null
+++ b/testsuite/tests/typecheck/should_fail/T8392a.stderr
@@ -0,0 +1,7 @@
+
+T8392a.hs:6:8:
+ Couldn't match type ‛Int’ with ‛Bool’
+ Inaccessible code in
+ the type signature for foo :: Int ~ Bool => a -> a
+ In the ambiguity check for: forall a. Int ~ Bool => a -> a
+ In the type signature for ‛foo’: foo :: Int ~ Bool => a -> a