summaryrefslogtreecommitdiff
path: root/testsuite/tests/th/T16195A.hs
blob: abc6b01376768ee61144de3e13fb8230c48e2939 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
{-# LANGUAGE TemplateHaskell #-}
module T16195A where

import Language.Haskell.TH

foo :: Code Q (IO ())
foo = [|| return () ||]

showC :: Code Q (() -> String)
showC = [|| show ||]

unitC :: Code Q ()
unitC = [|| () ||]