source:
CIVL/examples/languageFeatures/for.cvl@
bb03188
| Last change on this file since bb03188 was ea777aa, checked in by , 3 years ago | |
|---|---|
|
|
| File size: 192 bytes | |
| Rev | Line | |
|---|---|---|
| [36b5ada] | 1 | /* Commandline execution: |
| 2 | * civl verify for.cvl | |
| 3 | * */ | |
| [8bd0ed8] | 4 | void main() { |
| 5 | int j = 0; | |
| [ddb3718] | 6 | int x, y; |
| [8bd0ed8] | 7 | |
| [8fa5a7b] | 8 | for (int i=0; i<10; i++) ; |
| [8bd0ed8] | 9 | for (; j<10; j++) ; |
| [ddb3718] | 10 | for(x=0, y=1; x<10; x++){ |
| 11 | y++; | |
| 12 | } | |
| [8bd0ed8] | 13 | } |
Note:
See TracBrowser
for help on using the repository browser.
