summaryrefslogtreecommitdiff
path: root/testsuite/tests/safeHaskell/check/Check05.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/safeHaskell/check/Check05.hs')
-rw-r--r--testsuite/tests/safeHaskell/check/Check05.hs7
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/tests/safeHaskell/check/Check05.hs b/testsuite/tests/safeHaskell/check/Check05.hs
new file mode 100644
index 0000000000..2c3512a0b4
--- /dev/null
+++ b/testsuite/tests/safeHaskell/check/Check05.hs
@@ -0,0 +1,7 @@
+{-# OPTIONS_GHC -fpackage-trust #-}
+module Check05 ( main' ) where
+
+main' = do
+ let n = 1
+ print $ n
+