diff options
Diffstat (limited to 'testsuite/tests/codeGen/should_run/cgrun046.hs')
-rw-r--r-- | testsuite/tests/codeGen/should_run/cgrun046.hs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/testsuite/tests/codeGen/should_run/cgrun046.hs b/testsuite/tests/codeGen/should_run/cgrun046.hs new file mode 100644 index 0000000000..be414a8a75 --- /dev/null +++ b/testsuite/tests/codeGen/should_run/cgrun046.hs @@ -0,0 +1,10 @@ +module Main where + +import System.IO + +-- !!! CAF space leaks + +main = lots_of_xs 10000 + +lots_of_xs 0 = return () +lots_of_xs n = putChar 'x' >> lots_of_xs (n-1) |