source:
CIVL/mods/dev.civl.com/examples/contracts/pred.cvl@
cb4d4f4
| Last change on this file since cb4d4f4 was aad342c, checked in by , 3 years ago | |
|---|---|
|
|
| File size: 102 bytes | |
| Rev | Line | |
|---|---|---|
| [d5fa8f8] | 1 | #pragma CIVL ACSL |
| 2 | ||
| 3 | /*@ predicate gt(int x, int y) = x > y; | |
| 4 | @*/ | |
| 5 | ||
| 6 | int main() { | |
| 7 | $assert(gt(1, 0)); | |
| 8 | } |
Note:
See TracBrowser
for help on using the repository browser.
