summaryrefslogtreecommitdiff
path: root/testsuite/tests/deriving/should_compile/T2378.hs
blob: cd5d35128ecc58c21db1ab61f0bb73c978691012 (plain)
1
2
3
4
5
6
7
8
9
10
{-# LANGUAGE StandaloneDeriving, DeriveDataTypeable #-}
module Foo( T ) where

-- #2378

import Data.Data

newtype T f = MkT Int

deriving instance Typeable T