summaryrefslogtreecommitdiff
path: root/testsuite/tests/rts/T5644/all.T
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/rts/T5644/all.T')
-rw-r--r--testsuite/tests/rts/T5644/all.T7
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/tests/rts/T5644/all.T b/testsuite/tests/rts/T5644/all.T
new file mode 100644
index 0000000000..4b2332bbc6
--- /dev/null
+++ b/testsuite/tests/rts/T5644/all.T
@@ -0,0 +1,7 @@
+test('T5644', [
+ only_ways(['optasm','threaded1','threaded2']),
+ extra_run_opts('+RTS -M20m -RTS'),
+ exit_code(251) # RTS exit code for "out of memory"
+ ],
+ multimod_compile_and_run,
+ ['heap-overflow.hs','-O'])