summaryrefslogtreecommitdiff
path: root/testsuite/tests/deriving/should_compile/drv013.hs
blob: 1686bcc232c4dabf3588ee161777d3c963e6778c (plain)
1
2
3
4
5
6
7
8
9
10
11
{-# LANGUAGE DeriveDataTypeable #-}

-- Deriving Typeable has various special cases
module Foo where

import Data.Typeable

data Foo1 = Foo1 deriving( Typeable )
data Foo2 a = Foo2 a deriving( Typeable )
data Foo3 a b = Foo3 a b deriving( Typeable )