diff options
Diffstat (limited to 'testsuite/tests/cps/cps008.cmm')
-rw-r--r-- | testsuite/tests/cps/cps008.cmm | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/tests/cps/cps008.cmm b/testsuite/tests/cps/cps008.cmm new file mode 100644 index 0000000000..cdd8ac8a66 --- /dev/null +++ b/testsuite/tests/cps/cps008.cmm @@ -0,0 +1,9 @@ +// Test basic general case for heap check + +foo6_gc_slow { + if (Hp + 5 > HpLim) { + foreign "C--" do_gc_gen() "safe"; + jump foo6_gc_slow(1, 2, 3); + } + return (7); +} |