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

import Language.Haskell.TH

newtype NT = C (() -> ())

th :: Q [Dec]
th = [d| foo = C undefined |]