summaryrefslogtreecommitdiff
path: root/testsuite/tests/dependent/should_fail/T15743c.hs
blob: eb8f68349f8eafbd13907d01941dd8975feb804f (plain)
1
2
3
4
5
6
7
8
9
10
11
{-# LANGUAGE PolyKinds, DataKinds, ExplicitForAll #-}

module T15743 where

import Data.Kind
import Data.Proxy

data SimilarKind :: forall (c :: k) (d :: k). Proxy c -> Proxy d -> Type

data T k (c :: k) (a :: Proxy c) b (x :: SimilarKind a b)
data T2 k (c :: k) (a :: Proxy c) (b :: Proxy d) (x :: SimilarKind a b)