tests: audit source boundaries and cancellation join twins
This commit is contained in:
1 parent
5371eb7a2f
commit
50d1bb2c4b
20 files changed
+363
-10
No files matched your search
@@ -8,6 +8,6 @@ fn main(src: cap<fs.read>) -> void
|
||||
effects [fs.read, fs.write]
|
||||
{
|
||||
let f = fs.open_read(src, b"/in/a") or trap;
|
||||
fs.write_all(f, b"x") or trap;
|
||||
fs.write_all(f, b"x") or trap; // diagnostic here: f, b
|
||||
fs.close(move f) or trap;
|
||||
}
|
||||
Reference in new issue
Block a user