summaryrefslogtreecommitdiff
path: root/testsuite/tests/safeHaskell/flags/SafeFlags25.hs
blob: 7d650d6a72e7b671ec6ef77514f7a93e85894e05 (plain)
1
2
3
4
5
6
7
8
9
{-# OPTIONS_GHC -fwarn-safe #-}
-- | Basic test to see if Safe warning flags compile
-- Warn if module is inferred safe
-- In this test the warning _should_ fire
module SafeFlags25 where

f :: Int
f = 1