summaryrefslogtreecommitdiff
path: root/testsuite/tests/th/TH_spliceDecl3.hs
blob: 28ea4b6d641fe98260be585e16b2db44229719df (plain)
1
2
3
4
5
6
7
8
9
10
11
-- test splicing of reified and renamed data declarations

module TH_spliceDecl3
where

import Language.Haskell.TH
import TH_spliceDecl3_Lib

data T = C

$(do { TyConI d <- reify ''T; rename' d})