summaryrefslogtreecommitdiff
path: root/testsuite/tests/safeHaskell/flags/SafeFlags21.hs
blob: 5169a0358399b9c4e72d0532854408ff8c075b7e (plain)
1
2
3
4
5
6
7
8
9
{-# 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