summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/T14904b.hs
blob: 529b27324578b99bbb38e7e140efe3017baa5b9b (plain)
1
2
3
4
5
6
7
8
9
{-# LANGUAGE RankNTypes #-}
{-# LANGUAGE TypeFamilies #-}
{-# LANGUAGE PolyKinds #-}
module T14904b where

import Data.Kind

type family F f :: Type where
  F ((f :: forall a. g a) :: forall a. g a) = Int