summaryrefslogtreecommitdiff
path: root/testsuite/tests/th/2014/B.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/th/2014/B.hs')
-rw-r--r--testsuite/tests/th/2014/B.hs9
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/tests/th/2014/B.hs b/testsuite/tests/th/2014/B.hs
new file mode 100644
index 0000000000..0233a40209
--- /dev/null
+++ b/testsuite/tests/th/2014/B.hs
@@ -0,0 +1,9 @@
+{-# LANGUAGE TemplateHaskell #-}
+module B where
+
+import {-# SOURCE #-} A ()
+--import A ()
+import Language.Haskell.TH
+
+expQ :: ExpQ
+expQ = [| () |]