tests: extend audited rejection twins through tasks and locks
This commit is contained in:
1 parent
e4aacef48c
commit
272aebfd32
16 files changed
+157
-13
No files matched your search
@@ -0,0 +1,13 @@
|
||||
// A direct local store conflicts with a live shared view.
|
||||
// expect: reject E2101
|
||||
// phase: 6
|
||||
// spec: docs/spec/08-verifier.md §11.2
|
||||
// AIR twin: phase1/reject/related_borrow_live.air
|
||||
module test.source_store_with_live_borrow
|
||||
|
||||
fn main() -> u64 effects [] {
|
||||
var data: u64 = 0;
|
||||
ref view = data;
|
||||
data = 2; // diagnostic here
|
||||
return *view;
|
||||
}
|
||||
Reference in new issue
Block a user