1 2 3 4 5 6 7 8
module WarnMinimalFail2 where global :: Int global = 0 class Foo a where local :: a {-# MINIMAL global #-}