Changeset 0e66857 for tests/sum.cfa


Ignore:
Timestamp:
Feb 11, 2019, 8:37:05 AM (4 years ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
aaron-thesis, arm-eh, 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
Message:

formatting

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/sum.cfa

    raac99da r0e66857  
    1111// Created On       : Wed May 27 17:56:53 2015
    1212// Last Modified By : Peter A. Buhr
    13 // Last Modified On : Sun Dec 23 23:00:38 2018
    14 // Update Count     : 287
     13// Last Modified On : Sat Feb  9 15:38:48 2019
     14// Update Count     : 293
    1515//
    1616
    1717#include <fstream.hfa>
    1818#include <stdlib.hfa>
    19 
    20 void ?{}( int & c, zero_t ) { c = 0; }                                  // not in prelude
    2119
    2220trait sumable( otype T ) {
     
    4442// Not in prelude.
    4543void ?{}( unsigned char & c, zero_t ) { c = 0; }
     44void ?{}( int & i, zero_t ) { i = 0; }
    4645void ?{}( float & f, zero_t ) { f = 0.0; }
    4746void ?{}( double & d, zero_t ) { d = 0.0; }
Note: See TracChangeset for help on using the changeset viewer.