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