source:
CIVL/examples/languageFeatures/assume.cvl@
e2877ba
| Last change on this file since e2877ba was 3ff27cf, checked in by , 11 years ago | |
|---|---|
|
|
| File size: 161 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); |
| 10 | $assert((a[0] > 0)); | |
| [793cfc2] | 11 | } |
Note:
See TracBrowser
for help on using the repository browser.
