source:
CIVL/examples/languageFeatures/continue.cvl@
d8bb437
| Last change on this file since d8bb437 was 420d7f3, checked in by , 13 years ago | |
|---|---|
|
|
| File size: 356 bytes | |
| Rev | Line | |
|---|---|---|
| [420d7f3] | 1 | #include <civlc.h> |
| 2 | ||
| 3 | void main() { | |
| 4 | for (int i = 0; i < 5; i++) { | |
| 5 | for (int j = 0; j < 5; j++) { | |
| 6 | for (int k = 0; k < 7; k++) { | |
| 7 | if (k < 4) { | |
| 8 | continue; | |
| 9 | } | |
| 10 | $assert k >= 4; | |
| 11 | } | |
| 12 | if (j > 3) { | |
| 13 | continue; | |
| 14 | } | |
| 15 | $assert j <= 3; | |
| 16 | } | |
| 17 | if (i <= 2) { | |
| 18 | continue; | |
| 19 | } | |
| 20 | $assert i > 2; | |
| 21 | } | |
| 22 | } |
Note:
See TracBrowser
for help on using the repository browser.
