Fix #11287.
[ghc.git] / testsuite / tests / th / T6114.hs
1 {-# LANGUAGE TemplateHaskell #-}
2 module T6114 where
3 import Language.Haskell.TH
4
5 $(do
6 xName <- newName "x"
7 instanceType <- [t| $(varT xName) |]
8 _ <- reifyInstances ''Eq [instanceType]
9 return []
10 )