Changeset 4bd3069 for tests/coroutine/runningTotal.c
- Timestamp:
- Aug 19, 2018, 10:21:35 AM (6 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, no_list, persistent-indexer, pthread-emulation, qualifiedEnum
- Children:
- 90ed538
- Parents:
- 90cac45 (diff), 72a5a75 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/coroutine/runningTotal.c
r90cac45 r4bd3069 10 10 // Created On : Wed Dec 6 08:05:27 2017 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Wed Dec 6 08:09:24 201713 // Update Count : 212 // Last Modified On : Thu Aug 16 08:22:29 2018 13 // Update Count : 3 14 14 // 15 15 … … 29 29 30 30 void main( RunTotal & rntl ) with( rntl ) { 31 for ( ;;) {31 for () { 32 32 update( rntl, input ); 33 33 } // for … … 41 41 int main() { 42 42 RunTotal rntl; 43 for ( i nt i = 0; i < 10; i += 1) {43 for ( i; 10 ) { 44 44 sout | i | add( rntl, i ) | endl; 45 45 } // for
Note: See TracChangeset
for help on using the changeset viewer.