summaryrefslogtreecommitdiff
path: root/testsuite/tests/rename/should_fail/rnfail048.hs
blob: 9d1c4d4e0f8565b8416b8356e7948ad7945b5b56 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
-- #1888 
-- Pretty printing for pragmas

module ShouldFail where

{-# NOINLINE[1] foo #-}
{-# NOINLINE[~2] foo #-}
{-# NOINLINE foo #-}
{-# INLINE[1] foo #-}
{-# INLINE[~2] foo #-}
{-# INLINE foo #-}

foo n = foo (n+1)