diff options
Diffstat (limited to 'testsuite/tests/dependent/should_compile/Dep2.hs')
-rw-r--r-- | testsuite/tests/dependent/should_compile/Dep2.hs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/testsuite/tests/dependent/should_compile/Dep2.hs b/testsuite/tests/dependent/should_compile/Dep2.hs index 34be3cffc6..ca84c79fae 100644 --- a/testsuite/tests/dependent/should_compile/Dep2.hs +++ b/testsuite/tests/dependent/should_compile/Dep2.hs @@ -1,7 +1,10 @@ -{-# LANGUAGE PolyKinds, GADTs #-} +{-# LANGUAGE PolyKinds, GADTs, StandaloneKindSignatures #-} module Dep2 where -data G (a :: k) where +import Data.Kind (Type) + +type G :: k -> Type +data G a where G1 :: G Int G2 :: G Maybe |