From a8fca69206b700c78d803b335b6f471913fb11ef Mon Sep 17 00:00:00 2001 From: David Waern Date: Tue, 4 Nov 2008 21:13:44 +0000 Subject: Add tests/TH.hs --- tests/tests/TH.hs | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 tests/tests/TH.hs 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 |] -- cgit v1.2.3