Changeset 5f210c0 for tests/ctrl-flow
- Timestamp:
- Aug 4, 2024, 9:49:25 PM (5 months ago)
- Branches:
- master
- Children:
- 7db4fcd4
- Parents:
- 7ab24fef
- Location:
- tests/ctrl-flow
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/ctrl-flow/.expect/loopctrl.txt
r7ab24fef r5f210c0 119 119 0 -2 -4 -6 -8 120 120 0 1 2 3 4 5 6 7 8 9 121 A B C 122 A B C D 123 D B 121 124 A B C D 122 125 D C B A -
tests/ctrl-flow/loopctrl.cfa
r7ab24fef r5f210c0 83 83 84 84 enum(int) E { A, B, C, D }; 85 //for ( E e; A ~= C ) { sout | e; } sout | nl;86 //for ( e; A ~= D ) { sout | e; } sout | nl;87 //for ( e; A -~= D ~ 2 ) { sout | e; } sout | nl;85 for ( E e; A ~= C ) { sout | e; } sout | nl; 86 for ( e; A ~= D ) { sout | e; } sout | nl; 87 for ( e; A -~= D ~ 2 ) { sout | e; } sout | nl; 88 88 for ( e; E ) { sout | e; } sout | nl; 89 89 for ( e; -~= E ) { sout | e; } sout | nl;
Note: See TracChangeset
for help on using the changeset viewer.