summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/TcCoercibleFail2.stderr
diff options
context:
space:
mode:
authorJoachim Breitner <mail@joachim-breitner.de>2013-09-13 18:43:56 +0200
committerJoachim Breitner <mail@joachim-breitner.de>2013-09-13 21:59:08 +0200
commit5dd3e990b53532d9275eb4b2aa54c8b5c856de3a (patch)
tree6b95441711480384f52cfb92c06dab2a3fe8aaa6 /testsuite/tests/typecheck/should_fail/TcCoercibleFail2.stderr
parent7e76e921bd814f6b560c60bae9709395837aaf98 (diff)
downloadhaskell-5dd3e990b53532d9275eb4b2aa54c8b5c856de3a.tar.gz
Tests for the Coercible class
Also see http://ghc.haskell.org/trac/ghc/wiki/NewtypeWrappers
Diffstat (limited to 'testsuite/tests/typecheck/should_fail/TcCoercibleFail2.stderr')
-rw-r--r--testsuite/tests/typecheck/should_fail/TcCoercibleFail2.stderr5
1 files changed, 5 insertions, 0 deletions
diff --git a/testsuite/tests/typecheck/should_fail/TcCoercibleFail2.stderr b/testsuite/tests/typecheck/should_fail/TcCoercibleFail2.stderr
new file mode 100644
index 0000000000..f180a9a212
--- /dev/null
+++ b/testsuite/tests/typecheck/should_fail/TcCoercibleFail2.stderr
@@ -0,0 +1,5 @@
+
+TcCoercibleFail2.hs:3:10:
+ Illegal instance declaration for ‛Coercible () ()’
+ The class is abstract, manual instances are not permitted.
+ In the instance declaration for ‛Coercible () ()’