source:
CIVL/mods/dev.civl.abc/examples/contract/acsl_mem_plus.c
| Last change on this file was aad342c, checked in by , 3 years ago | |
|---|---|
|
|
| File size: 206 bytes | |
| Rev | Line | |
|---|---|---|
| [aad342c] | 1 | #pragma CIVL ACSL |
| 2 | int * a; | |
| 3 | ||
| 4 | /*@ assigns *(a + (0 .. 9)); | |
| 5 | @ assigns *(a + (1 + (0 .. 9))); | |
| 6 | @ assigns *(a + ((1 .. 9) + (0 .. 9))); | |
| 7 | @ assigns *(((1 .. 9) + (0 .. 9)) + a); | |
| 8 | @*/ | |
| 9 | int f() { | |
| 10 | return 0; | |
| 11 | } |
Note:
See TracBrowser
for help on using the repository browser.
