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

class Cls a where
    data Typ a
    type Typ a = Int
      -- Default for data family :-(