summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/tcfail127.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/typecheck/should_fail/tcfail127.stderr')
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail127.stderr5
1 files changed, 5 insertions, 0 deletions
diff --git a/testsuite/tests/typecheck/should_fail/tcfail127.stderr b/testsuite/tests/typecheck/should_fail/tcfail127.stderr
new file mode 100644
index 0000000000..8fa64fb204
--- /dev/null
+++ b/testsuite/tests/typecheck/should_fail/tcfail127.stderr
@@ -0,0 +1,5 @@
+
+tcfail127.hs:3:1:
+ Illegal polymorphic or qualified type: Num a => a -> a
+ Perhaps you intended to use -XImpredicativeTypes
+ In the type signature for `foo': foo :: IO (Num a => a -> a)