diff options
Diffstat (limited to 'testsuite/tests/safeHaskell/check/Check03_B.hs')
-rw-r--r-- | testsuite/tests/safeHaskell/check/Check03_B.hs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/testsuite/tests/safeHaskell/check/Check03_B.hs b/testsuite/tests/safeHaskell/check/Check03_B.hs new file mode 100644 index 0000000000..bce45af4e5 --- /dev/null +++ b/testsuite/tests/safeHaskell/check/Check03_B.hs @@ -0,0 +1,10 @@ +{-# LANGUAGE Safe #-} + +-- Since Safe we require base package be trusted to compile +module Check03_B where + +import Check03_A + +mainM :: Int -> Int +mainM n = trace "Allowed Leak" $ n * 2 + |