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.
15 lines
367 B
Rust
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;
|
|
}
|