summaryrefslogtreecommitdiff
path: root/testsuite/tests/safeHaskell/check/Check06.hs
blob: 30c59553002276ed810a5bac2a67af5764db05c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{-# LANGUAGE Haskell2010 #-}
{-# LANGUAGE Trustworthy, NoImplicitPrelude #-}
{-# OPTIONS_GHC -fpackage-trust #-}

-- make sure importing a safe-inferred module brings in the
-- pkg trust requirements correctly.
module Check06 ( main' ) where

import safe Check06_A

main' =
    let n = mainM 1
    in n