aboutsummaryrefslogtreecommitdiff
path: root/tests/iii/multifile-duplicate-function/case.json
diff options
context:
space:
mode:
author_ov4 <ov4@ov4.org>2026-10-17 09:23:04 +0000
committer_ov4 <ov4@ov4.org>2026-10-17 09:23:04 +0000
commit50186a23cd62fc6ce120f6114b428dc5c26b5a56 (patch)
treefb36447a7f8c932fcf2cd745901b538912eacfae /tests/iii/multifile-duplicate-function/case.json
parent9467ae311ddc0ce8b4c329f3dbcec88fb279719d (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/iii/multifile-duplicate-function/case.json')
-rw-r--r--tests/iii/multifile-duplicate-function/case.json13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/iii/multifile-duplicate-function/case.json b/tests/iii/multifile-duplicate-function/case.json
new file mode 100644
index 0000000..0d0affd
--- /dev/null
+++ b/tests/iii/multifile-duplicate-function/case.json
@@ -0,0 +1,13 @@
+{
+ "sources": [
+ "program.cps",
+ "lib.cps"
+ ],
+ "errors": [
+ {
+ "reason": "Duplicate definition value",
+ "line": 1,
+ "file": "lib.cps"
+ }
+ ]
+}