aboutsummaryrefslogtreecommitdiff
path: root/html-test/tests/TH.hs
diff options
context:
space:
mode:
Diffstat (limited to 'html-test/tests/TH.hs')
-rw-r--r--html-test/tests/TH.hs8
1 files changed, 8 insertions, 0 deletions
diff --git a/html-test/tests/TH.hs b/html-test/tests/TH.hs
new file mode 100644
index 00000000..f8178bcb
--- /dev/null
+++ b/html-test/tests/TH.hs
@@ -0,0 +1,8 @@
+{-# LANGUAGE TemplateHaskell #-}
+
+module TH where
+
+import Language.Haskell.TH
+
+decl :: Q [Dec]
+decl = [d| f x = x|]