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