summaryrefslogtreecommitdiff
path: root/testsuite/tests/rename/should_compile/T15798a.hs
blob: d34e55bdab0bba5e45f0ac9699a6d6fae735c5db (plain)
1
2
3
4
5
6
7
8
9
10
11
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)