summaryrefslogtreecommitdiff
path: root/testsuite/tests/boxy/Church2.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/boxy/Church2.stderr')
-rw-r--r--testsuite/tests/boxy/Church2.stderr12
1 files changed, 12 insertions, 0 deletions
diff --git a/testsuite/tests/boxy/Church2.stderr b/testsuite/tests/boxy/Church2.stderr
new file mode 100644
index 0000000000..ea7613733b
--- /dev/null
+++ b/testsuite/tests/boxy/Church2.stderr
@@ -0,0 +1,12 @@
+
+Church2.hs:27:14:
+ Couldn't match expected type `CNat'
+ against inferred type `(a -> a) -> a -> a'
+ In the first argument of `n', namely `(mul m)'
+ In the expression: n (mul m) n1
+ In the definition of `exp2': exp2 m n = n (mul m) n1
+
+*** This error message is not helpful,
+*** and the test should fail, not pass
+*** These comments are here to make sure the output
+*** doesn't match!