summaryrefslogtreecommitdiff
path: root/testsuite/tests/safeHaskell/safeLanguage/SafeLang03.hs
blob: 4f3bce7e0a1f2834b0b058b621f6203603456970 (plain)
1
2
3
4
5
6
7
8
9
10
{-# LANGUAGE Safe #-}
{-# OPTIONS_GHC -fenable-rewrite-rules #-}

-- | Test SafeLanguage disables things
module SafeLang03 where

{-# RULES "f" f = undefined #-}
f :: Int
f = 1