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