Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
dafa937b
Commit
dafa937b
authored
Dec 15, 2008
by
Simon Marlow
Browse files
test for
#2592
parent
bd40af6c
Changes
3
Hide whitespace changes
Inline
Side-by-side
testsuite/tests/ghc-regress/profiling/should_run/2592.hs
0 → 100644
View file @
dafa937b
main
=
let
xs
=
[
1
..
]
in
print
(
length
(
xs
++
xs
))
testsuite/tests/ghc-regress/profiling/should_run/2592.stderr
0 → 100644
View file @
dafa937b
Heap exhausted;
Current maximum heap size is 999424 bytes (0 MB);
use `+RTS -M<size>' to increase it.
testsuite/tests/ghc-regress/profiling/should_run/all.T
View file @
dafa937b
...
...
@@ -8,3 +8,8 @@ test('heapprof001',
req_profiling
,
extra_run_opts
('
7
')]),
compile_and_run
,
[''])
test
('
2592
',
[
only_ways
(['
profasm
','
profc
']),
req_profiling
,
extra_run_opts
('
+RTS -M1m -RTS
'),
exit_code
(
251
)],
compile_and_run
,
[''])
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment