From 50186a23cd62fc6ce120f6114b428dc5c26b5a56 Mon Sep 17 00:00:00 2001 From: _ov4 Date: Sat, 17 Oct 2026 09:23:04 +0000 Subject: 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 --- tests/i/multifile-runtime-catch/program.cps | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 tests/i/multifile-runtime-catch/program.cps (limited to 'tests/i/multifile-runtime-catch/program.cps') 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) -- cgit v1.3.1-4-g156e