summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghc-regress/rename/should_compile/Rn050_A.hs
blob: d4e1f55c7cd71b85c77ec9f2f4fdc07dd9a3374e (plain)
1
2
3
4
5
6
7
8
9
10
module Rn050_A where

{-# DEPRECATED C "Use D instead" #-}
{-# DEPRECATED op "Use bop instead" #-}

data T = C | D

class Foo a where
  op :: a -> a
  bop :: a -> a