summaryrefslogtreecommitdiff
path: root/testsuite/tests/th/TH_Depends.hs
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2011-11-06 13:32:49 +0000
committerIan Lynagh <igloo@earth.li>2011-11-06 13:56:14 +0000
commit00ca8c345c1c8ae2fe6ded15204bf03fc34849fc (patch)
tree99540c05bb9fb6172c1845ab0955c00c1f81762e /testsuite/tests/th/TH_Depends.hs
parent5c117b6a7edd61b3d7e5709f55804df29c986816 (diff)
downloadhaskell-00ca8c345c1c8ae2fe6ded15204bf03fc34849fc.tar.gz
Add a test for TH's qAddDependentFile
Diffstat (limited to 'testsuite/tests/th/TH_Depends.hs')
-rw-r--r--testsuite/tests/th/TH_Depends.hs9
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/tests/th/TH_Depends.hs b/testsuite/tests/th/TH_Depends.hs
new file mode 100644
index 0000000000..94ab51178a
--- /dev/null
+++ b/testsuite/tests/th/TH_Depends.hs
@@ -0,0 +1,9 @@
+
+{-# LANGUAGE TemplateHaskell #-}
+
+module Main where
+
+import TH_Depends_External (loadStringFromFile)
+
+main :: IO ()
+main = putStrLn $loadStringFromFile