source:
CIVL/mods/dev.civl.abc/examples/c/funcs.c
| Last change on this file was aad342c, checked in by , 3 years ago | |
|---|---|
|
|
| File size: 175 bytes | |
| Line | |
|---|---|
| 1 | int f(int a, int b); |
| 2 | |
| 3 | int f(int c, int d); |
| 4 | |
| 5 | /*@ executes_when k<g; |
| 6 | @ requires k>0; |
| 7 | @ ensures \result<1; |
| 8 | @*/ |
| 9 | int f(int k, int g){ |
| 10 | return 0; |
| 11 | } |
| 12 | |
| 13 | void main(){ |
| 14 | f(0,0); |
| 15 | } |
Note:
See TracBrowser
for help on using the repository browser.
