summaryrefslogtreecommitdiff
path: root/testsuite/tests/hsc2hs/T11004.hsc
blob: 796d35a45197adbf6f9d62b5d6f8aaa832faa2ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
{-# LANGUAGE DataKinds #-}
{-# LANGUAGE GADTs #-}
{-# LANGUAGE KindSignatures #-}

module T11004 where

import Data.Kind (Type)

data Foo = Foo' | Bar

data Indexed :: Foo -> Type where
  IndexedA :: Indexed ' Foo'
  IndexedB :: Indexed 'Bar