- Timestamp:
- Feb 11, 2019, 8:37:05 AM (6 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, persistent-indexer, pthread-emulation, qualifiedEnum
- Children:
- ba01b14
- Parents:
- aac99da
- Location:
- tests
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/numericConstants.cfa
raac99da r0e66857 10 10 // Created On : Wed May 24 22:10:36 2017 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Tue Nov 6 17:59:53 201813 // Update Count : 312 // Last Modified On : Tue Feb 5 08:58:16 2019 13 // Update Count : 5 14 14 // 15 15 … … 67 67 // Local Variables: // 68 68 // tab-width: 4 // 69 // compile-command: "cfa minmax.cfa" //69 // compile-command: "cfa numericConstants.cfa" // 70 70 // End: // -
tests/sum.cfa
raac99da r0e66857 11 11 // Created On : Wed May 27 17:56:53 2015 12 12 // Last Modified By : Peter A. Buhr 13 // Last Modified On : S un Dec 23 23:00:38 201814 // Update Count : 2 8713 // Last Modified On : Sat Feb 9 15:38:48 2019 14 // Update Count : 293 15 15 // 16 16 17 17 #include <fstream.hfa> 18 18 #include <stdlib.hfa> 19 20 void ?{}( int & c, zero_t ) { c = 0; } // not in prelude21 19 22 20 trait sumable( otype T ) { … … 44 42 // Not in prelude. 45 43 void ?{}( unsigned char & c, zero_t ) { c = 0; } 44 void ?{}( int & i, zero_t ) { i = 0; } 46 45 void ?{}( float & f, zero_t ) { f = 0.0; } 47 46 void ?{}( double & d, zero_t ) { d = 0.0; }
Note: See TracChangeset
for help on using the changeset viewer.