aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Waern <david.waern@gmail.com>2008-11-04 21:13:44 +0000
committerDavid Waern <david.waern@gmail.com>2008-11-04 21:13:44 +0000
commita8fca69206b700c78d803b335b6f471913fb11ef (patch)
tree5e238fd932d7b49b7776b7cd70f75f339f828028
parent879b4e51e3a1a1b1dec436078ef621258afc81ad (diff)
Add tests/TH.hs
-rw-r--r--tests/tests/TH.hs8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/tests/TH.hs b/tests/tests/TH.hs
new file mode 100644
index 00000000..2be0c723
--- /dev/null
+++ b/tests/tests/TH.hs
@@ -0,0 +1,8 @@
+{-# LANGUAGE TemplateHaskell #-}
+
+module TH where
+
+import Language.Haskell.TH
+
+decl :: Q [Dec]
+decl = [d| f x = x * 2 |]