summaryrefslogtreecommitdiff
path: root/testsuite/tests/safeHaskell/check/Check04_A.hs
blob: 3f6b5f00e9ce86f1e5786d4f59318e271045a0dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{-# LANGUAGE Trustworthy #-}
module Check04_A (
        trace
    ) where

import qualified Debug.Trace as D
import qualified Data.ByteString.Lazy.Char8 as BS

-- | Allowed declasification
trace :: String -> a -> a
trace s = D.trace $ s ++ show a3

a3 :: BS.ByteString
a3 = BS.take 3 $ BS.repeat 'a'