summaryrefslogtreecommitdiff
path: root/testsuite/tests/safeHaskell/safeInfered/TrustworthySafe03.hs
blob: ad63e090e1132c1c06570eac482e8dadc9c84831 (plain)
1
2
3
4
5
6
7
8
9
10
11
{-# LANGUAGE Trustworthy #-}
{-# OPTIONS_GHC -Wall #-}
{-# OPTIONS_GHC -fwarn-trustworthy-safe #-} -- temp broken by 452d6aa95

-- | This module is marked trustworthy but should be inferable as -XSafe.
-- Warning enabled through `-W`.
module TrustworthySafe03 where

g :: Int
g = 1