summaryrefslogtreecommitdiff
path: root/tests/examples/ghc86/TH_spliceD2.hs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/examples/ghc86/TH_spliceD2.hs')
-rw-r--r--tests/examples/ghc86/TH_spliceD2.hs7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/examples/ghc86/TH_spliceD2.hs b/tests/examples/ghc86/TH_spliceD2.hs
new file mode 100644
index 0000000..ed8165e
--- /dev/null
+++ b/tests/examples/ghc86/TH_spliceD2.hs
@@ -0,0 +1,7 @@
+{-# LANGUAGE TemplateHaskell #-}
+module TH_spliceD2 where
+
+import qualified TH_spliceD2_Lib
+
+$( [d| data T = T TH_spliceD2_Lib.T |] )
+