1 2 3 4 5 6 7 8
{-# LANGUAGE TypeFamilies #-} module ShouldFail where -- must fail: defaults have no patterns class C2 a b where type S2 a :: * type S2 Int = Char