summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghc-regress/perf/should_run/T3738.hs
blob: 1b3141c0f5f8ef755a3303cfaad5298258d5cd68 (plain)
1
2
3
4
5
6
7
8
9
10

module Main where

import T3738a

{-# INLINE bar #-}
bar :: Int -> [Int]
bar x = map (+ 2) (foo x)

main = print (bar 2 !! 10000)