Changeset e1780a2 for src/tests


Ignore:
Timestamp:
Aug 9, 2017, 5:56:44 PM (7 years ago)
Author:
Peter A. Buhr <pabuhr@…>
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, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
Children:
0a5b683, 3b4571b, cd7ef0b
Parents:
0ec9229
Message:

augment "writable" trait with "ostream" to support more monomorphic IO operations, and add new "div" test using this feature

Location:
src/tests
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • src/tests/div.c

    r0ec9229 re1780a2  
    1111// Created On       : Tue Aug  8 16:28:43 2017
    1212// Last Modified By : Peter A. Buhr
    13 // Last Modified On : Tue Aug  8 18:02:44 2017
    14 // Update Count     : 14
     13// Last Modified On : Wed Aug  9 17:09:40 2017
     14// Update Count     : 16
    1515//
    1616
     
    2828        sout | "div" | div( s1, s2 ) | endl;
    2929        T t1 = { 13 }, t2 = { 5 };
    30         [t1, t2] = div( t1, t2 );                                                       // polymorphic div
    31         sout | "div" | t1 | t2 | endl;
    32 //      sout | "div" | div( t1, t2 ) | endl;
     30        sout | "div" | div( t1, t2 ) | endl;                            // polymorphic div
    3331} // main
    3432
Note: See TracChangeset for help on using the changeset viewer.