summaryrefslogtreecommitdiff
path: root/testsuite/tests/splice-imports/SI05.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/splice-imports/SI05.hs')
-rw-r--r--testsuite/tests/splice-imports/SI05.hs9
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/tests/splice-imports/SI05.hs b/testsuite/tests/splice-imports/SI05.hs
new file mode 100644
index 0000000000..2c35211c98
--- /dev/null
+++ b/testsuite/tests/splice-imports/SI05.hs
@@ -0,0 +1,9 @@
+{-# LANGUAGE SpliceImports #-}
+{-# LANGUAGE TemplateHaskell #-}
+module SI04 where
+
+import SI01A
+import splice SI05A
+
+main :: IO ()
+main = $( sid [| pure () |]) >> $$( sid [|| pure () ||])