source:
CIVL/mods/dev.civl.abc/examples/contract/valid.c
| Last change on this file was aad342c, checked in by , 3 years ago | |
|---|---|
|
|
| File size: 147 bytes | |
| Rev | Line | |
|---|---|---|
| [aad342c] | 1 | /*@ requires \valid(p + 0); |
| 2 | @ requires \valid(p + (0 .. 5#1)); | |
| 3 | @ ensures \valid(p); | |
| 4 | @*/ | |
| 5 | void validPointers(int * p) { | |
| 6 | *p = 1; | |
| 7 | return; | |
| 8 | } |
Note:
See TracBrowser
for help on using the repository browser.
