summaryrefslogtreecommitdiff
path: root/testsuite/tests/indexed-types/should_fail/SimpleFail7.hs
blob: 3d9a089381686cacec09fc2cf0ac92a7b2ab77c7 (plain)
1
2
3
4
5
6
7
8
{-# LANGUAGE TypeFamilies #-}

module ShouldFail where

-- must fail: AT must be in class instance
class C5 a where
  data S5 a :: *
data instance S5 Int = S5