Changeset 933f32f for tests/rational.cfa
- Timestamp:
- May 24, 2019, 10:19:41 AM (6 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:
- d908563
- Parents:
- 6a9d4b4 (diff), 292642a (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/rational.cfa
r6a9d4b4 r933f32f 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 : Wed Mar 27 07:37:17 2019 13 // Update Count : 80 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; } … … 58 54 sout | a * b; 59 55 sout | a / b; 56 // sout | a \ 2 | b \ 2; // FIX ME 57 // sout | a \ -2 | b \ -2; 60 58 61 59 sout | "conversion";
Note:
See TracChangeset
for help on using the changeset viewer.