summaryrefslogtreecommitdiff
path: root/testsuite/tests/perf/should_run/T9203.hs
blob: 500fd8c98e61450ad24e92d317102d9dce821bdd (plain)
1
2
3
4
5
6
7
8
9
module Main where

import Data.Typeable

f :: Typeable a => Int -> a -> TypeRep
f 0 a = typeOf a
f n a = f (n-1) [a]

main = print (f 50000 () == f 50001 ())