blob: 87f7b2dc5dff68dc1194a59577b1faac7447844e (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
{-# OPTIONS_GHC -fwarn-unsafe -Werror #-}
-- | Basic test to see if Safe warning flags compile
-- Warn if module is infered unsafe
-- In this test the warning _should_ fire and cause a compile fail
module SafeFlags22 where
import System.IO.Unsafe
f :: Int
f = 1
|