summaryrefslogtreecommitdiff
path: root/testsuite/tests/deriving/should_fail/T2394.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/deriving/should_fail/T2394.stderr')
-rw-r--r--testsuite/tests/deriving/should_fail/T2394.stderr6
1 files changed, 6 insertions, 0 deletions
diff --git a/testsuite/tests/deriving/should_fail/T2394.stderr b/testsuite/tests/deriving/should_fail/T2394.stderr
new file mode 100644
index 0000000000..9972186ed5
--- /dev/null
+++ b/testsuite/tests/deriving/should_fail/T2394.stderr
@@ -0,0 +1,6 @@
+
+T2394.hs:9:1:
+ Can't make a derived instance of `Data (a -> b)':
+ The last argument of the instance must be a data or newtype application
+ In the stand-alone deriving instance for
+ `(Data a, Data b) => Data (a -> b)'