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

module Foo where

import Language.Haskell.TH

type C = Int

$(do
  a <- reify $ mkName "C"
  report False $ show a
  return []
  )