diff options
Diffstat (limited to 'testsuite/tests/th/TH_Roles2.hs')
-rw-r--r-- | testsuite/tests/th/TH_Roles2.hs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/testsuite/tests/th/TH_Roles2.hs b/testsuite/tests/th/TH_Roles2.hs new file mode 100644 index 0000000000..fc010df9ed --- /dev/null +++ b/testsuite/tests/th/TH_Roles2.hs @@ -0,0 +1,8 @@ +{-# LANGUAGE TemplateHaskell, RoleAnnotations, PolyKinds #-} + +module TH_Roles2 where + +import Language.Haskell.TH + +$( return [DataD [] (mkName "T") [KindedRoledTV (mkName "a") (VarT (mkName "k")) Representational] [] []] ) + |