source:
CIVL/examples/languageFeatures/runStatement.cvl
| Last change on this file was ea777aa, checked in by , 3 years ago | |
|---|---|
|
|
| File size: 173 bytes | |
| Rev | Line | |
|---|---|---|
| [9372523] | 1 | #include <civlc.cvh> |
| 2 | ||
| 3 | int main() { | |
| 4 | int x = 0; | |
| 5 | int y = 0; | |
| 6 | ||
| 7 | $run { | |
| 8 | while( x < 3 ){} | |
| 9 | $assert(x == 3); | |
| 10 | } | |
| 11 | for(int y = 0; x < 3; x++) y++; | |
| [7588f05] | 12 | return 0; |
| [9372523] | 13 | } |
Note:
See TracBrowser
for help on using the repository browser.
