summaryrefslogtreecommitdiff
path: root/testsuite/tests/th/T8577a.hs
blob: 425645f8772bfd75e3d8dcc4e88a1dd3ab972046 (plain)
1
2
3
4
5
6
7
8
9
10
11
{-# LANGUAGE TemplateHaskell #-}
module T8577a where
import Language.Haskell.TH

data A a = A

x :: Code Q (A a)
x = [|| A ||]

y :: Code Q (A Int)
y = x