source:
CIVL/examples/languageFeatures/cAssert.cvl@
20a83c7
| Last change on this file since 20a83c7 was 25be2a6, checked in by , 12 years ago | |
|---|---|
|
|
| File size: 152 bytes | |
| Rev | Line | |
|---|---|---|
| [25be2a6] | 1 | /* |
| 2 | * Commandline example: | |
| 3 | * civl verify cAssert.cvl | |
| 4 | */ | |
| [09b9231b] | 5 | #include<assert.h> |
| 6 | ||
| 7 | void main(){ | |
| 8 | int x = 1, y = 2; | |
| 9 | assert(x < y); | |
| 10 | assert(x > y); | |
| 11 | } |
Note:
See TracBrowser
for help on using the repository browser.
