summaryrefslogtreecommitdiff
path: root/testsuite/tests/deriving/should_compile/T16179.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/deriving/should_compile/T16179.stderr')
-rw-r--r--testsuite/tests/deriving/should_compile/T16179.stderr5
1 files changed, 5 insertions, 0 deletions
diff --git a/testsuite/tests/deriving/should_compile/T16179.stderr b/testsuite/tests/deriving/should_compile/T16179.stderr
new file mode 100644
index 0000000000..c3815d138f
--- /dev/null
+++ b/testsuite/tests/deriving/should_compile/T16179.stderr
@@ -0,0 +1,5 @@
+T16179.hs:7:30: warning:
+ Both DeriveAnyClass and GeneralizedNewtypeDeriving are enabled
+ Defaulting to the DeriveAnyClass strategy for instantiating C
+ Use DerivingStrategies to pick a different strategy
+ In the newtype declaration for ‘T’