summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/AssocTyDef04.hs
blob: 2ff833725ebac045e7c17e4acc976a304bcb97ff (plain)
1
2
3
4
5
6
7
{-# LANGUAGE TypeFamilies #-}
module AssocTyDef04 where

class Cls a where
    type Typ a
    type Typ a = Maybe
      -- Wrong kind for default