summaryrefslogtreecommitdiff
path: root/testsuite/tests/th/T4949.hs
blob: b3c37eea57bb02940e52de3df9284467aa0407b8 (plain)
1
2
3
4
5
6
7
8
9
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE NoMonomorphismRestriction #-}
module Foo where

import Language.Haskell.TH

x :: Int
x = let args = [| show $(varE (mkName "x")) |]
    in undefined