source:
CIVL/examples/languageFeatures/cAssert.cvl@
7a7bed3
| Last change on this file since 7a7bed3 was 25be2a6, checked in by , 12 years ago | |
|---|---|
|
|
| File size: 152 bytes | |
| Line | |
|---|---|
| 1 | /* |
| 2 | * Commandline example: |
| 3 | * civl verify cAssert.cvl |
| 4 | */ |
| 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.
