summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghc-regress/deriving/should_fail/drvfail010.hs
blob: efecf07cf1e7023bb828c012957c5e7f9890db03 (plain)
1
2
3
4
5
6
7
8
9
10
{-# LANGUAGE DeriveDataTypeable #-}

module ShouldFail where
import Data.Typeable

data A a b c d e f g h i j = A deriving (Typeable)
	-- Too many args

data B a b = B (a b) deriving (Typeable)
	-- Non type-kind args