source:
CIVL/mods/dev.civl.com/examples/languageFeatures/assume.cvl@
cb4d4f4
| Last change on this file since cb4d4f4 was aad342c, checked in by , 3 years ago | |
|---|---|
|
|
| File size: 159 bytes | |
| Line | |
|---|---|
| 1 | /* Commandline execution: |
| 2 | * civl verify assume.cvl |
| 3 | * */ |
| 4 | |
| 5 | #include <civlc.cvh> |
| 6 | $input int a[]; |
| 7 | |
| 8 | void main() { |
| 9 | $assume(a[0] > 1); |
| 10 | $assert(a[0] > 0); |
| 11 | } |
Note:
See TracBrowser
for help on using the repository browser.
