diff options
| author | _ov4 <ov4@ov4.org> | 2026-10-17 09:23:04 +0000 |
|---|---|---|
| committer | _ov4 <ov4@ov4.org> | 2026-10-17 09:23:04 +0000 |
| commit | 50186a23cd62fc6ce120f6114b428dc5c26b5a56 (patch) | |
| tree | fb36447a7f8c932fcf2cd745901b538912eacfae /tests/i/multifile-runtime-catch/program.cps | |
| parent | 9467ae311ddc0ce8b4c329f3dbcec88fb279719d (diff) | |
test(multifile): cover imports, shared globals and exception propagation
Allow fixtures to pass ordered source lists and require file-qualified
negative diagnostics. Add native and runner cases for cross-unit calls,
global mutation and shadowing, transitive imports, types, MAIN status,
exception catches, runtime failures and destructor unwinding.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'tests/i/multifile-runtime-catch/program.cps')
| -rw-r--r-- | tests/i/multifile-runtime-catch/program.cps | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/i/multifile-runtime-catch/program.cps b/tests/i/multifile-runtime-catch/program.cps new file mode 100644 index 0000000..3d11099 --- /dev/null +++ b/tests/i/multifile-runtime-catch/program.cps @@ -0,0 +1,7 @@ +INCLUDE "lib.cps" +TRY + OUTPUT Quotient(0) +CATCH + OUTPUT "runtime caught" +ENDTRY +OUTPUT Quotient(2) |
