summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/tcfail152.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/typecheck/should_fail/tcfail152.stderr')
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail152.stderr6
1 files changed, 6 insertions, 0 deletions
diff --git a/testsuite/tests/typecheck/should_fail/tcfail152.stderr b/testsuite/tests/typecheck/should_fail/tcfail152.stderr
new file mode 100644
index 0000000000..5ae2f52f00
--- /dev/null
+++ b/testsuite/tests/typecheck/should_fail/tcfail152.stderr
@@ -0,0 +1,6 @@
+
+tcfail152.hs:10:14:
+ No instance for (Integral a)
+ arising from a use of `toInteger'
+ In the expression: toInteger x
+ In an equation for `test': test (C x) = toInteger x