summaryrefslogtreecommitdiff
path: root/testsuite/tests/indexed-types/should_fail/SimpleFail15.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/indexed-types/should_fail/SimpleFail15.stderr')
-rw-r--r--testsuite/tests/indexed-types/should_fail/SimpleFail15.stderr6
1 files changed, 6 insertions, 0 deletions
diff --git a/testsuite/tests/indexed-types/should_fail/SimpleFail15.stderr b/testsuite/tests/indexed-types/should_fail/SimpleFail15.stderr
new file mode 100644
index 0000000000..8f97746510
--- /dev/null
+++ b/testsuite/tests/indexed-types/should_fail/SimpleFail15.stderr
@@ -0,0 +1,6 @@
+
+SimpleFail15.hs:5:1:
+ Illegal polymorphic or qualified type: a ~ b => t
+ Perhaps you intended to use -XRankNTypes or -XRank2Types
+ In the type signature for `foo':
+ foo :: (a, b) -> (a ~ b => t) -> (a, b)