summaryrefslogtreecommitdiff
path: root/testsuite/tests/dependent/should_compile/Dep2.hs
blob: ca84c79fae4e7bd12135d0cdfd85aff13afc2e1a (plain)
1
2
3
4
5
6
7
8
9
10
{-# LANGUAGE PolyKinds, GADTs, StandaloneKindSignatures #-}

module Dep2 where

import Data.Kind (Type)

type G :: k -> Type
data G a where
  G1 :: G Int
  G2 :: G Maybe