- Timestamp:
- Aug 30, 2018, 6:30:10 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:
- 7e08acf, a9fb796, e255e69
- Parents:
- 933933c
- Location:
- tests
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/.expect/forctrl.txt
r933933c r0982a05 2 2 empty 3 3 empty 4 5 A 6 A A 4 7 A A A A A A A A A A 5 8 B B B B B … … 9 12 0 1 2 3 4 5 6 7 8 9 10 13 0 1 2 3 4 5 6 7 8 9 11 2 4 6 8 10 14 1 3 5 7 9 12 15 10 8 6 4 2 13 16 0.5 1.5 2.5 3.5 4.5 -
tests/forctrl.c
r933933c r0982a05 10 10 // Created On : Wed Aug 8 18:32:59 2018 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Wed Aug 29 18:04:15201813 // Update Count : 2612 // Last Modified On : Thu Aug 30 17:12:12 2018 13 // Update Count : 43 14 14 // 15 15 … … 34 34 for () { sout | "empty"; break; } sout | endl; 35 35 36 for ( 0 ) { sout | "A"; } sout | endl; 37 for ( 1 ) { sout | "A"; } sout | endl; 38 for ( 2 ) { sout | "A"; } sout | endl; 36 39 for ( 10 ) { sout | "A"; } sout | endl; 37 40 38 for ( 2~= 10 ~ 2 ) { sout | "B"; } sout | endl;39 for ( 10 -~= 2~ -2 ) { sout | "C"; } sout | endl;41 for ( 1 ~= 10 ~ 2 ) { sout | "B"; } sout | endl; 42 for ( 10 -~= 1 ~ -2 ) { sout | "C"; } sout | endl; 40 43 for ( 0.5 ~ 5.5 ) { sout | "D"; } sout | endl; 41 44 for ( 5.5 -~ 0.5 ) { sout | "E"; } sout | endl; … … 44 47 for ( j; 10 ) { sout | j; } sout | endl; 45 48 46 //for ( i; 1 ~= 10 ~ 2 ) { sout | i; } sout | endl; 47 for ( i; 2 ~= 10 ~ 2 ) { sout | i; } sout | endl; 48 for ( i; 10 -~= 2 ~ -2 ) { sout | i; } sout | endl; 49 for ( i; 1 ~= 10 ~ 2 ) { sout | i; } sout | endl; 50 for ( i; 10 -~= 1 ~ -2 ) { sout | i; } sout | endl; 49 51 for ( i; 0.5 ~ 5.5 ) { sout | i; } sout | endl; 50 52 for ( i; 5.5 -~ 0.5 ) { sout | i; } sout | endl;
Note: See TracChangeset
for help on using the changeset viewer.