source:
CIVL/examples/languageFeatures/runStatement.cvl@
ef8e46c
| Last change on this file since ef8e46c was 9372523, checked in by , 10 years ago | |
|---|---|
|
|
| File size: 156 bytes | |
| Line | |
|---|---|
| 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++; |
| 12 | } |
Note:
See TracBrowser
for help on using the repository browser.
