diff options
| author | _ov4 <ov4@ov4.org> | 2026-10-17 05:33:33 +0000 |
|---|---|---|
| committer | _ov4 <ov4@ov4.org> | 2026-10-17 05:33:33 +0000 |
| commit | 4e22f464387725a5a282f3d72e11cfb694a31a5a (patch) | |
| tree | 17fed09b30633e6aae583f490a0ad9c0c95fb045 /tests/i/memory-uncaught/program.cps | |
| parent | 4dd85fd6ecd9a67e5c2b68380873e6e114714355 (diff) | |
feat(memory): add checked REALLOC with failure preservation
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Diffstat (limited to 'tests/i/memory-uncaught/program.cps')
| -rw-r--r-- | tests/i/memory-uncaught/program.cps | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/i/memory-uncaught/program.cps b/tests/i/memory-uncaught/program.cps new file mode 100644 index 0000000..85b96a8 --- /dev/null +++ b/tests/i/memory-uncaught/program.cps @@ -0,0 +1,5 @@ +TYPE Raw = C_TYPE("void*") +DECLARE P : Raw +P <- MALLOC(8) +FREE(P) +FREE(P) |
