summaryrefslogtreecommitdiff
path: root/testsuite/tests/dependent/should_fail/T11407.hs
blob: e94eaba1e72d47a11e038b92d6eea0f8fa0c3d49 (plain)
1
2
3
4
5
6
7
8
9
10
{-# LANGUAGE TypeFamilies #-}
{-# LANGUAGE DataKinds, PolyKinds #-}
module T11407 where

import Data.Kind

type Const a b = a

data family UhOh (f :: k1) (a :: k2) (b :: k3)
data instance UhOh (f :: * -> * -> *) (a :: x a) (b :: Const * a) = UhOh