summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghc-regress/indexed-types/should_fail/SimpleFail12.hs
blob: 0c8ffefefe876ad6dd589ca240a0970a50171bb0 (plain)
1
2
3
4
5
6
7
8
9
{-# LANGUAGE TypeFamilies, Rank2Types #-}


module ShouldFail where

type family C a :: *
-- must fail: rhs is not a tau type
type instance C Int = forall a. [a]