summaryrefslogtreecommitdiff
path: root/testsuite/tests/th/T5290.hs
blob: 7973a13d24399fbd00772d10a9a03328b1fd4921 (plain)
1
2
3
4
5
6
7
8
{-# LANGUAGE TemplateHaskell #-}

module T5290 where

import Language.Haskell.TH

$( let n = mkName "T"
   in return [DataD [] n [] [NormalC n [(Unpacked,ConT ''Int)]] []] )