summaryrefslogtreecommitdiff
path: root/testsuite/tests/warnings/minimal/WarnMinimalFail2.hs
blob: 2ee3040a4a96c975ff1be96728825d9e94e71ee8 (plain)
1
2
3
4
5
6
7
8
module WarnMinimalFail2 where

global :: Int
global = 0

class Foo a where
  local :: a
  {-# MINIMAL global #-}