Add -Wmissing-deriving-strategies
[ghc.git] / testsuite / tests / rename / should_compile / T15798a.hs
1 {-# LANGUAGE DerivingStrategies #-}
2
3 {-# OPTIONS_GHC -Wmissing-deriving-strategies #-}
4
5 module T15798a () where
6
7 data Foo a = Foo a
8 deriving stock (Eq)
9
10 data Bar a = Bar a
11 deriving (Eq, Show)
12 deriving stock (Ord)