summaryrefslogtreecommitdiff
path: root/testsuite/tests/indexed-types/should_compile/T4358.hs
blob: 92ac3a743b4e7035c79a33541055aa7a862b5313 (plain)
1
2
3
4
5
6
7
8
9
10
11
{-# LANGUAGE TypeFamilies, Rank2Types, FlexibleContexts #-}

module T4358 where

type family T a

t2 :: forall a. ((T a ~ a) => a) -> a
t2 = t
  
t :: forall a. ((T a ~ a) => a) -> a
t = undefined