blob: 589372cd5ea85c7d5c271beb0c2a8d6a4929adec (
plain)
1
2
3
4
5
6
7
8
9
10
|
{-# LANGUAGE TypeFamilies, MultiParamTypeClasses #-}
module ShouldFail where
import Data.Kind (Type)
-- must fail: defaults have no patterns
class C2 a b where
type S2 a :: Type
type S2 Int = Char
|