summaryrefslogtreecommitdiff
path: root/tests/examples/ghc86/TH_localname.hs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/examples/ghc86/TH_localname.hs')
-rw-r--r--tests/examples/ghc86/TH_localname.hs5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/examples/ghc86/TH_localname.hs b/tests/examples/ghc86/TH_localname.hs
new file mode 100644
index 0000000..c99af3e
--- /dev/null
+++ b/tests/examples/ghc86/TH_localname.hs
@@ -0,0 +1,5 @@
+{-# LANGUAGE TemplateHaskell #-}
+module TH_localname where
+
+x = \y -> [| y |]
+