summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/TcNoNullaryTC.hs
blob: 2928f5ccf5e39f047ae52ee15cd3945321b09580 (plain)
1
2
3
4
5
{-# LANGUAGE Haskell2010 #-}
module NoNullaryTC where

class A where
  f :: a -> a