summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/T21447.hs
blob: 7a6938d5ad818523c16f1c1a9f61989e4ebb0f5d (plain)
1
2
3
4
5
6
7
8
module T21447 where

import Data.Kind (Type)
import GHC.Exts  (TYPE)

type H :: TYPE r -> Type
newtype H a where
  H :: a -> H a