diff options
Diffstat (limited to 'testsuite/tests/safeHaskell/safeInfered/Mixed02.hs')
-rw-r--r-- | testsuite/tests/safeHaskell/safeInfered/Mixed02.hs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/testsuite/tests/safeHaskell/safeInfered/Mixed02.hs b/testsuite/tests/safeHaskell/safeInfered/Mixed02.hs new file mode 100644 index 0000000000..062c2db64d --- /dev/null +++ b/testsuite/tests/safeHaskell/safeInfered/Mixed02.hs @@ -0,0 +1,10 @@ +{-# LANGUAGE Unsafe #-} +-- | Should fail compilation because we import Data.Word as safe and unsafe +module Mixed02 where + +import safe qualified Data.Word as DW +import Data.Word + +f :: Int +f = 1 + |