source:
CIVL/mods/dev.civl.abc/examples/contract/mpi_contract_requirement_guarantee-bad2.c
| Last change on this file was aad342c, checked in by , 3 years ago | |
|---|---|
|
|
| File size: 222 bytes | |
| Rev | Line | |
|---|---|---|
| [aad342c] | 1 | #pragma CIVL ACSL |
| 2 | ||
| 3 | int nprocs; | |
| 4 | ||
| 5 | /*@ requires \absentof \sendfrom(0 .. (nprocs-1), 0) \after \exit(0 .. nprocs-1) \until \exit(0); | |
| 6 | @ ensures \absentof \exit \after \enter \until \enter(root); | |
| 7 | @*/ | |
| 8 | int gather(int root); |
Note:
See TracBrowser
for help on using the repository browser.
