diff options
Diffstat (limited to 'testsuite/tests/th/T16183.hs')
-rw-r--r-- | testsuite/tests/th/T16183.hs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/testsuite/tests/th/T16183.hs b/testsuite/tests/th/T16183.hs new file mode 100644 index 0000000000..6b1280f344 --- /dev/null +++ b/testsuite/tests/th/T16183.hs @@ -0,0 +1,11 @@ +{-# LANGUAGE TemplateHaskell #-} +{-# LANGUAGE TypeFamilies #-} +module T16183 where + +import Data.Kind + +$([d| type F1 = (Maybe :: Type -> Type) Int + type F2 = (Int :: Type) -> (Int :: Type) + type family F3 a where + F3 (a :: Type) = Int + newtype F4 = MkF4 (Int :: Type) |]) |