- Timestamp:
- Mar 19, 2019, 10:46:50 AM (7 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, cleanup-dtors, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- f1c1339
- Parents:
- 1528a2c
- Location:
- tests
- Files:
-
- 2 edited
-
forall.cfa (modified) (2 diffs)
-
rational.cfa (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tests/forall.cfa
r1528a2c r0c81320 10 10 // Created On : Wed May 9 08:48:15 2018 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Tue Nov 6 17:53:43 201813 // Update Count : 3 112 // Last Modified On : Tue Mar 19 08:29:38 2019 13 // Update Count : 32 14 14 // 15 15 … … 53 53 right = temp; 54 54 } 55 56 void ?{}( int & c, zero_t ) { c = 0; } // not in prelude57 55 58 56 trait sumable( otype T ) { -
tests/rational.cfa
r1528a2c r0c81320 10 10 // Created On : Mon Mar 28 08:43:12 2016 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Tue Dec 4 21:46:42 201813 // Update Count : 6912 // Last Modified On : Tue Mar 19 08:30:28 2019 13 // Update Count : 73 14 14 // 15 15 … … 19 19 #include <fstream.hfa> 20 20 21 // UNNECESSARY, FIX ME22 void ?{}( int & this ) { this = 0; }23 void ?{}( int & this, zero_t ) { this = 0; }24 void ?{}( int & this, one_t ) { this = 1; }25 21 double convert( int i ) { return (double)i; } 26 22 int convert( double d ) { return (int)d; }
Note:
See TracChangeset
for help on using the changeset viewer.