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

-- Trac 2378

import Data.Data

newtype T f = MkT Int

deriving instance Typeable T