summaryrefslogtreecommitdiff
path: root/testsuite/tests/th/TH_Roles2.hs
blob: fc010df9ed2a6e0c18814649b28291851c8e5952 (plain)
1
2
3
4
5
6
7
8
{-# LANGUAGE TemplateHaskell, RoleAnnotations, PolyKinds #-}

module TH_Roles2 where

import Language.Haskell.TH

$( return [DataD [] (mkName "T") [KindedRoledTV (mkName "a") (VarT (mkName "k")) Representational] [] []] )