diff options
-rw-r--r-- | tests/tests/TH.hs | 8 |
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 |] |