source:
CIVL/examples/languageFeatures/divisionByZero.cvl@
37db9bb
| Last change on this file since 37db9bb was ea00acb, checked in by , 11 years ago | |
|---|---|
|
|
| File size: 88 bytes | |
| Rev | Line | |
|---|---|---|
| [ea00acb] | 1 | #include<civlc.cvh> |
| 2 | ||
| 3 | $input int X; | |
| 4 | ||
| 5 | int main(void){ | |
| 6 | int a=10/X; | |
| 7 | ||
| 8 | $assert(a != 0); | |
| 9 | } |
Note:
See TracBrowser
for help on using the repository browser.
