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

module T7241 where

import Language.Haskell.TH

$(newName "Foo" >>= \o -> return [DataD [] o [] Nothing [RecC o []] []])