summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/T14055.hs
blob: 996c33be1cbd4b46f38288a566dd465f09729800 (plain)
1
2
3
4
5
6
{-# LANGUAGE DataKinds, TypeFamilies #-}

newtype X = RollX (() -> X)

type family F t :: X where
    F t = RollX (t -> ())