summaryrefslogtreecommitdiff
path: root/testsuite/tests/safeHaskell/safeInfered/TrustworthySafe04.hs
blob: 0b96de1d2a9defa9f6f6566eeea7629ad626343b (plain)
1
2
3
4
5
6
7
8
9
10
{-# LANGUAGE Trustworthy #-}
{-# OPTIONS_GHC -W -fno-warn-trustworthy-safe #-}

-- | This module is marked trustworthy but should be inferable as -XSafe.
-- Warning enabled through `-W` but then disabled with `-fno-warn...`.
module TrustworthySafe04 where

g :: Int
g = 1