summaryrefslogtreecommitdiff
path: root/testsuite/tests/th/T20791.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/th/T20791.hs')
-rw-r--r--testsuite/tests/th/T20791.hs7
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/tests/th/T20791.hs b/testsuite/tests/th/T20791.hs
new file mode 100644
index 0000000000..450079e413
--- /dev/null
+++ b/testsuite/tests/th/T20791.hs
@@ -0,0 +1,7 @@
+{-# LANGUAGE TemplateHaskell #-}
+module T20791 where
+
+import Control.Monad.IO.Class
+
+main = $(liftIO $ (print ()) >> [| print () |])
+