summaryrefslogtreecommitdiff
path: root/testsuite/tests/safeHaskell/check/Check01_B.hs
blob: 7f2529e48156827ec8070eba4ff212aab766899b (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 Check01_B where

import Check01_A

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