summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghc-regress/safeHaskell/check/pkg01/ImpSafe01.hs
blob: deb0d57f8d1359c87a189b3b14570f49683fcff3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
{-# LANGUAGE Safe #-}
{-# LANGUAGE NoImplicitPrelude #-}
module ImpSafe ( MyWord ) where

-- While Data.Word is safe it imports trustworthy
-- modules in base, hence base needs to be trusted.
-- Note: Worthwhile giving out better error messages for cases
-- like this if I can.
import Data.Word

type MyWord = Word