summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghc-regress/perf/should_run/T3738a.hs
blob: b27451d12d40645803fb46c3082b054e35f2a8b8 (plain)
1
2
3
4
5
6

module T3738a where

{-# INLINE foo #-}
foo :: Num a => a -> [a]
foo x = map (+ 1) (repeat x)