summaryrefslogtreecommitdiff
path: root/testsuite/tests/driver/T7060.hs
blob: 885a9bc1c7744d7174acd810ac20061101fe3dd9 (plain)
1
2
3
4
5
6
7
8
main :: IO ()
main = print (f (3 + 4 :: Int))

f :: Int -> Int
f x = x
{-# NOINLINE [1] f #-}

{-# RULES "rule" forall x. f x = 8 #-}