source:
CIVL/mods/dev.civl.abc/examples/contract/acslOperators.c
| Last change on this file was aad342c, checked in by , 3 years ago | |
|---|---|
|
|
| File size: 170 bytes | |
| Rev | Line | |
|---|---|---|
| [aad342c] | 1 | #pragma CIVL ACSL |
| 2 | ||
| 3 | /*@ requires (a^^b) && (b==>c) && (a <--> c) && (b --> c); | |
| 4 | @ ensures (a<==>b+c); | |
| 5 | @*/ | |
| 6 | void foo(int a, int b, int c); | |
| 7 | ||
| 8 | int main(){ | |
| 9 | foo(0, 0, 0); | |
| 10 | } |
Note:
See TracBrowser
for help on using the repository browser.
