summaryrefslogtreecommitdiff
path: root/testsuite/tests/deriving/should_fail/T4083.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/deriving/should_fail/T4083.stderr')
-rw-r--r--testsuite/tests/deriving/should_fail/T4083.stderr7
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/tests/deriving/should_fail/T4083.stderr b/testsuite/tests/deriving/should_fail/T4083.stderr
new file mode 100644
index 0000000000..299e8d83c2
--- /dev/null
+++ b/testsuite/tests/deriving/should_fail/T4083.stderr
@@ -0,0 +1,7 @@
+
+T4083.hs:14:1: error:
+ • Can't make a derived instance of ‘C (F [a])’
+ (even with cunning GeneralizedNewtypeDeriving):
+ the class has associated data types
+ • In the stand-alone deriving instance for
+ ‘C (Maybe a) => C (F [a])’