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

import Data.Kind

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