summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/T8392a.stderr
diff options
context:
space:
mode:
authorSimon Peyton Jones <simonpj@microsoft.com>2013-10-03 09:25:25 +0100
committerSimon Peyton Jones <simonpj@microsoft.com>2013-10-03 09:25:25 +0100
commit65128ed7812c6e8085c0f0258f23f6afad3a6b50 (patch)
tree82c873245ac8181ee8faabcaff2a51f9bf386b76 /testsuite/tests/typecheck/should_fail/T8392a.stderr
parent067f78b276f3f3d2d50a2d3134f211ccd099f4a6 (diff)
downloadhaskell-65128ed7812c6e8085c0f0258f23f6afad3a6b50.tar.gz
Test Trac #8392
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