source:
CIVL/mods/dev.civl.abc/examples/side-effects/out_abstractFunctions.cvl
| Last change on this file was aad342c, checked in by , 3 years ago | |
|---|---|
|
|
| File size: 281 bytes | |
| Rev | Line | |
|---|---|---|
| [aad342c] | 1 | #pragma CIVL ACSL |
| 2 | //======================== assert.h ======================== | |
| 3 | /*@ depends_on \nothing; */ | |
| 4 | $atomic_f void assert(_Bool expr); | |
| 5 | //================== abstractFunctions.cvl ================= | |
| 6 | $abstract int f(int); | |
| 7 | int main() { | |
| 8 | assert($forall (int i | i > 0) f(i)); | |
| 9 | } | |
| 10 |
Note:
See TracBrowser
for help on using the repository browser.
