summaryrefslogtreecommitdiff
path: root/testsuite/tests/safeHaskell/check/Check02_B.hs
blob: 70813b22ce7075a997c78c555fbd71cf9e460ded (plain)
1
2
3
4
5
6
7
8
9
10
11
{-# LANGUAGE Haskell2010 #-}
{-# LANGUAGE Safe #-}

-- Since Safe we require base package be trusted to compile
module Check02_B where

import Check02_A

mainM :: Int -> Int
mainM n = trace "Allowed Leak" $ n * 2