Commit dafa937b authored by Simon Marlow's avatar Simon Marlow
Browse files

test for #2592

parent bd40af6c
main = let xs = [1..] in print (length (xs ++ xs))
Heap exhausted;
Current maximum heap size is 999424 bytes (0 MB);
use `+RTS -M<size>' to increase it.
......@@ -8,3 +8,8 @@ test('heapprof001',
compile_and_run, [''])
[only_ways(['profasm','profc']), req_profiling,
extra_run_opts('+RTS -M1m -RTS'), exit_code(251)],
compile_and_run, [''])
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment