summaryrefslogtreecommitdiff
path: root/testsuite/tests/safeHaskell/flags/SafeFlags21.hs
blob: 7efc24b6ed315024ef142dc497d52d6172af089a (plain)
1
2
3
4
5
6
7
8
9
10
{-# LANGUAGE Haskell2010 #-}
{-# OPTIONS_GHC -fwarn-unsafe #-}
-- | Basic test to see if Safe warning flags compile
-- Warn if module is inferred unsafe
-- In this test the warning _shouldn't_ fire
module SafeFlags21 where

f :: Int
f = 1