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

import Language.Haskell.TH
import Language.Haskell.TH.Syntax

f :: Q [Dec]
f =
    [d|
        x2 :: $(conT ''Int)
        x2 = undefined
    |]