Fix #11287.
[ghc.git] / testsuite / tests / th / T10279.hs
1 module T10279 where
2 import Language.Haskell.TH
3 import Language.Haskell.TH.Syntax
4
5 -- NB: rts-1.0 is used here because it doesn't change.
6 -- You do need to pick the right version number, otherwise the
7 -- error message doesn't recognize it as a source package ID,
8 -- (This is OK, since it will look obviously wrong when they
9 -- try to find the package in their package database.)
10 blah = $(conE (Name (mkOccName "Foo") (NameG VarName (mkPkgName "rts-1.0") (mkModName "A"))))