summaryrefslogtreecommitdiff
path: root/testsuite/tests/generics/GenCannotDoRep1_3.stderr
diff options
context:
space:
mode:
authorJose Pedro Magalhaes <jpm@cs.ox.ac.uk>2012-06-21 12:13:33 +0100
committerJose Pedro Magalhaes <jpm@cs.ox.ac.uk>2012-06-21 12:13:49 +0100
commit686628d242e497a746d6272247445def6b6a2485 (patch)
tree772364e12390647df0a2bfae0b863c8daea60ef8 /testsuite/tests/generics/GenCannotDoRep1_3.stderr
parent9d3bf7df0d059cb4b5273edd73a0eb9bb0a856eb (diff)
downloadhaskell-686628d242e497a746d6272247445def6b6a2485.tar.gz
Add tests for deriving Generic1
Most of these tests were written by Nicolas Frisby.
Diffstat (limited to 'testsuite/tests/generics/GenCannotDoRep1_3.stderr')
-rw-r--r--testsuite/tests/generics/GenCannotDoRep1_3.stderr5
1 files changed, 5 insertions, 0 deletions
diff --git a/testsuite/tests/generics/GenCannotDoRep1_3.stderr b/testsuite/tests/generics/GenCannotDoRep1_3.stderr
new file mode 100644
index 0000000000..7312a95158
--- /dev/null
+++ b/testsuite/tests/generics/GenCannotDoRep1_3.stderr
@@ -0,0 +1,5 @@
+
+GenCannotDoRep1_3.hs:11:33:
+ Can't make a derived instance of `Generic1 T':
+ Constructor `T' must use the last type parameter only as the last argument of a data type, newtype, or (->)
+ In the data declaration for `T'