summaryrefslogtreecommitdiff
path: root/testsuite/tests/indexed-types/should_compile/GADT13.hs
blob: a5fb9e5cd97baed9ac62cde81dd4123d821a5f34 (plain)
1
2
3
4
5
6
7
8
9
10
{-# LANGUAGE TypeFamilies, GADTs #-}

module GADT13 where

import Data.Kind (Type)

data family HiThere a :: Type

data instance HiThere () where
    HiThere :: HiThere ()