summaryrefslogtreecommitdiff
path: root/testsuite/tests/indexed-types/should_fail/SimpleFail4.hs
blob: de674a39fdb9111bb12ff83c36e02ee367e5f296 (plain)
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