diff options
Diffstat (limited to 'testsuite/tests/th/TH_where.hs')
-rw-r--r-- | testsuite/tests/th/TH_where.hs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/testsuite/tests/th/TH_where.hs b/testsuite/tests/th/TH_where.hs new file mode 100644 index 0000000000..94d8db76d4 --- /dev/null +++ b/testsuite/tests/th/TH_where.hs @@ -0,0 +1,8 @@ +{-# LANGUAGE TemplateHaskell #-} + +module Main where + +import Language.Haskell.TH + + +main = do {d <- runQ $ [| let { foo = bar where bar = 3 } in foo |]; print d} |