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