summaryrefslogtreecommitdiff
path: root/testsuite/tests/th/TH_reifyMkName.hs
blob: 5fed9b44f2a6a72c6f823773fb6f38fcfd154ae7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
-- #2339

module Foo where

import System.IO
import Language.Haskell.TH

type C = Int

$(do
  a <- reify $ mkName "C"
  runIO $ hPutStrLn stderr (show a)
  return []
  )