summaryrefslogtreecommitdiff
path: root/testsuite/tests/rename/should_compile/T15798a.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/rename/should_compile/T15798a.hs')
-rw-r--r--testsuite/tests/rename/should_compile/T15798a.hs12
1 files changed, 12 insertions, 0 deletions
diff --git a/testsuite/tests/rename/should_compile/T15798a.hs b/testsuite/tests/rename/should_compile/T15798a.hs
new file mode 100644
index 0000000000..d34e55bdab
--- /dev/null
+++ b/testsuite/tests/rename/should_compile/T15798a.hs
@@ -0,0 +1,12 @@
+{-# LANGUAGE DerivingStrategies #-}
+
+{-# OPTIONS_GHC -Wmissing-deriving-strategies #-}
+
+module T15798a () where
+
+data Foo a = Foo a
+ deriving stock (Eq)
+
+data Bar a = Bar a
+ deriving (Eq, Show)
+ deriving stock (Ord)