Changeset 8ac3b0e for tests


Ignore:
Timestamp:
Jul 19, 2019, 1:50:01 PM (5 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
6130304, 85dac33, f53acdf8
Parents:
2026bb6 (diff), 8e87f37 (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.
Message:

Merge branch 'master' of plg.uwaterloo.ca:software/cfa/cfa-cc

Location:
tests
Files:
3 added
1 edited

Legend:

Unmodified
Added
Removed
  • tests/sum.cfa

    r2026bb6 r8ac3b0e  
    1111// Created On       : Wed May 27 17:56:53 2015
    1212// Last Modified By : Peter A. Buhr
    13 // Last Modified On : Fri Jul 12 12:05:16 2019
    14 // Update Count     : 335
     13// Last Modified On : Tue Jul 16 09:51:37 2019
     14// Update Count     : 336
    1515//
    1616
     
    186186        void ?|?( ofstream & os, S v ) { (ofstream &)(os | v); ends( os ); }
    187187
    188         S s = (S){0}, a[size], v = { low, low };
     188        S s = 0, a[size], v = { low, low };
    189189        for ( int i = 0; i < size; i += 1, v += (S){1} ) {
    190190                s += (S)v;
Note: See TracChangeset for help on using the changeset viewer.