- Timestamp:
- Nov 7, 2018, 5:13:08 PM (6 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, no_list, persistent-indexer, pthread-emulation, qualifiedEnum
- Children:
- 3180aa1
- Parents:
- 909aebf
- Location:
- tests
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/.expect/loopctrl.txt
r909aebf r61dafb8 20 20 21 21 22 N N N N N N N N N N 23 0 1 2 3 4 5 6 7 8 9 24 10 9 8 7 6 5 4 3 2 1 25 26 22 27 3 6 9 28 23 29 24 30 (0 0)(1 1)(2 2)(3 3)(4 4)(5 5)(6 6)(7 7)(8 8)(9 9) -
tests/loopctrl.cfa
r909aebf r61dafb8 10 10 // Created On : Wed Aug 8 18:32:59 2018 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Tue Nov 6 17:58:25201813 // Update Count : 5212 // Last Modified On : Wed Nov 7 16:54:11 2018 13 // Update Count : 62 14 14 // 15 15 … … 41 41 for ( 1 ) { sout | "A"; } sout | endl; 42 42 for ( 10 ) { sout | "A"; } sout | endl; 43 44 43 for ( 1 ~= 10 ~ 2 ) { sout | "B"; } sout | endl; 45 44 for ( 10 -~= 1 ~ 2 ) { sout | "C"; } sout | endl; … … 52 51 for ( i; 0.5 ~ 5.5 ) { sout | i; } sout | endl; 53 52 for ( i; 5.5 -~ 0.5 ) { sout | i; } sout | endl; 54 55 53 for ( ui; 2u ~= 10u ~ 2u ) { sout | ui; } sout | endl; 56 54 for ( ui; 10u -~= 2u ~ 2u ) { sout | ui; } sout | endl | endl | endl; 57 55 56 enum { N = 10 }; 57 for ( N ) { sout | "N"; } sout | endl; 58 for ( i; N ) { sout | i; } sout | endl; 59 for ( i; N -~ 0 ) { sout | i; } sout | endl | endl | endl; 60 58 61 const int start = 3, comp = 10, inc = 2; 59 for ( i; start ~ comp ~ inc + 1 ) { sout | i; } sout | endl ;62 for ( i; start ~ comp ~ inc + 1 ) { sout | i; } sout | endl | endl; 60 63 61 64 sout | endl;
Note: See TracChangeset
for help on using the changeset viewer.