summaryrefslogtreecommitdiff
path: root/testsuite/tests/polykinds/PolyKinds06.hs
blob: 691d103d6f01cfe0575e7c28d68c97d9137fa554 (plain)
1
2
3
4
5
6
7
8
9
10
{-# LANGUAGE DataKinds, KindSignatures  #-}
{-# LANGUAGE GADTs                      #-}

module PolyKinds06 where


data A = A1 | A2 (B 'B1)

data B :: A -> * where
  B1 :: B 'A1