drvfail011.hs 154 Bytes
Newer Older
1
2
3
4
5
6
7
8
{-# LANGUAGE StandaloneDeriving #-}

module ShouldFail where

data T a = T1 a | T2

-- This fails as we need an (Eq a) context
deriving instance Eq (T a)