Changeset fce4e31 for tests/sum.cfa
- Timestamp:
- Jul 12, 2019, 1:50:44 PM (4 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 8fd52e9
- Parents:
- ef5b828 (diff), 302d84c2 (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/sum.cfa
ref5b828 rfce4e31 11 11 // Created On : Wed May 27 17:56:53 2015 12 12 // Last Modified By : Peter A. Buhr 13 // Last Modified On : Thu Jun 6 16:18:22201914 // Update Count : 33 313 // Last Modified On : Fri Jul 12 12:05:16 2019 14 // Update Count : 335 15 15 // 16 16 … … 97 97 S ?++( S & t ) { S temp = t; t += (S){1}; return temp; } 98 98 ofstream & ?|?( ofstream & os, S v ) { return os | v.i | v.j; } 99 void ?|?( ofstream & os, S v ) { (ofstream &)(os | v); nl( os ); }99 void ?|?( ofstream & os, S v ) { (ofstream &)(os | v); ends( os ); } 100 100 101 101 S s = (S){0}, a[size], v = { low, low }; … … 184 184 S ?++( S & t ) { S temp = t; t += (S){1}; return temp; } 185 185 ofstream & ?|?( ofstream & os, S v ) { return os | v.i | v.j; } 186 void ?|?( ofstream & os, S v ) { (ofstream &)(os | v); nl( os ); }186 void ?|?( ofstream & os, S v ) { (ofstream &)(os | v); ends( os ); } 187 187 188 188 S s = (S){0}, a[size], v = { low, low };
Note: See TracChangeset
for help on using the changeset viewer.