summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/T20588c.hs
blob: 1ebf815de233cece46a3706145fe290b80c6c00d (plain)
1
2
3
4
5
6
7
8
9
10
{-# LANGUAGE DefaultSignatures #-}

module T20588c where

import Data.Kind

class C (a :: Type) where
  meth :: a
  default meth :: Monoid a => a
  meth = mempty