summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghc-regress/typecheck/should_fail/tcfail086.hs
blob: 46d330daa637530ff89f3ce68a5bab8b663309a3 (plain)
1
2
3
4
5
6
7
{-# LANGUAGE ExistentialQuantification #-}

-- !!! Check that we can't derive instances of existential types
module ShouldFail where

data Ex = forall a. Ex [a] deriving( Eq )