summaryrefslogtreecommitdiff
path: root/testsuite/tests/safeHaskell/flags/SafeFlags29.hs
blob: 389fe482162ba06283696ec33ba192268caa3ff9 (plain)
1
2
3
4
5
6
7
8
9
10
{-# LANGUAGE Safe #-}
{-# OPTIONS_GHC -trust base -trust bytestring #-}
-- | Basic test to see if no safe infer flag compiles
-- This module would usually infer safely, so it shouldn't be safe now.
-- We don't actually check that here though, see test '' for that.
module SafeFlags29 where

f :: Int
f = 1