Major patch to add -fwarn-redundant-constraints
[ghc.git] / testsuite / tests / polykinds / PolyKinds08.hs
1 {-# OPTIONS_GHC -fno-warn-redundant-constraints #-}
2 {-# LANGUAGE PolyKinds #-}
3
4 module PolyKinds08 where
5
6
7 data U a = U
8
9 instance Functor U where
10 fmap f U = U
11
12 instance (Show a) => Show (U a) where
13 show U = ""