summaryrefslogtreecommitdiff
path: root/testsuite/tests/dependent/should_compile/Dep1.hs
blob: e1bdc9e441b6ffa45333f6c3894c5b7c187e7693 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
{-# LANGUAGE DataKinds, PolyKinds #-}

module Dep1 where

import Data.Kind

data Proxy k (a :: k) = P

x :: Proxy Type Int
x = P

y :: Proxy Bool True
y = P