summaryrefslogtreecommitdiff
path: root/testsuite/tests/safeHaskell/check/Check04_1.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/safeHaskell/check/Check04_1.hs')
-rw-r--r--testsuite/tests/safeHaskell/check/Check04_1.hs9
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/tests/safeHaskell/check/Check04_1.hs b/testsuite/tests/safeHaskell/check/Check04_1.hs
new file mode 100644
index 0000000000..e823c889d6
--- /dev/null
+++ b/testsuite/tests/safeHaskell/check/Check04_1.hs
@@ -0,0 +1,9 @@
+{-# LANGUAGE SafeImports #-}
+module Check04_1 ( main' ) where
+
+import safe Check04_B
+
+main' = do
+ let n = mainM 1
+ print $ n
+