summaryrefslogtreecommitdiff
path: root/testsuite/tests/indexed-types/should_compile/T15057.hs
blob: b21d3e37f98d811d6195fd1ad8e60d73b913c6f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
{-# LANGUAGE LiberalTypeSynonyms #-}
{-# LANGUAGE TypeFamilies #-}
module T15057 where

type T f = f Int
type S a = a -> a

type family TF a
type instance TF Int = T S
  -- Ensure that -dcore-lint doesn't trip up on this unsaturated use
  -- of the type synonym S