Files
aji/tests/conformance/source/layer8/shield_index_reuse.aji
T
dev e3fc896a0a wip: shield index relations, dev evaluation tasks, Q-063 audit notes
Verifier borrow/provenance work, new phase3 shield_index conformance cases,
dev-intervals/dev-lru/dev-shards tasks with evaluate.py harness, and agent skill/hook config.
2026-10-17 12:30:37 +03:00

15 lines
367 B
Rust

// expect: run
// result: 42
// schedules: 32
// phase: 6
// spec: docs/spec/04-concurrency-and-atomics.md §37.3; docs/spec/15-source-language.md §7
module test.shield_index
fn main() -> u64 effects [] {
var x: u64 = 0u64;
shield {
shield { shield { x = x + 1u64; } shield { x = x + 1u64; } }
shield { x = x + 40u64; }
}
return x;
}