Files
aji/tests/conformance/source/modules/model.aji.inc
T
dev c96199e7ec cli: add explicit package source modules
Link manifest-selected source graphs with module-local names, qualified
structs/enums/functions and task workers through ordinary AIR verification.
Keep source inputs bounded, reject source symlinks and preserve explicit
grants, diagnostics and deterministic canonical lowering.

Integrate spec 12/15, RFC 0021, source reference budgets, roadmap, examples
and CI coverage. Validate 579 conformance tests, unit tests, 76 source
constructs, hosted smoke, 36 package CLI checks and task schedule stress.
2026-10-06 18:51:54 +03:00

10 lines
396 B
C++

module app.model
struct Pair { left: u64, right: u64 }
struct Wrap { pair: Pair }
enum State { Done(Pair), Empty }
fn make() -> Pair effects [] { return Pair { left: 20, right: 22 }; }
fn total(pair: Pair) -> u64 effects [] { return pair.left + pair.right; }
fn helper() -> u64 effects [] { return 10; }
fn local() -> u64 effects [] { return helper(); }
fn main() -> u64 effects [] { return 9; }