Improve error message in deriving( Functor )
[ghc.git] / testsuite / tests / typecheck / should_fail / tcfail176.hs
1 {-# LANGUAGE GADTs #-}
2
3 -- Newtype in GADT syntax
4
5 module ShouldFail where
6
7 newtype Bug a where Bug :: a -> Maybe a