Ignore:
Timestamp:
Dec 12, 2018, 9:16:12 AM (3 years ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
aaron-thesis, arm-eh, cleanup-dtors, deferred_resn, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, no_list, persistent-indexer
Children:
5ebb1368
Parents:
3d99498
Message:

add auto newline to sout, change endl to nl

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/shortCircuit.cfa

    r3d99498 r200fcb3  
     1//
     2// Cforall Version 1.0.0 Copyright (C) 2016 University of Waterloo
     3//
     4// The contents of this file are covered under the licence agreement in the
     5// file "LICENCE" distributed with Cforall.
     6//
     7// shortCircuit.cfa --
     8//
     9// Author           : Peter A. Buhr
     10// Created On       : Thu Jan 28 18:26:16 2016
     11// Last Modified By : Peter A. Buhr
     12// Last Modified On : Tue Dec  4 18:26:05 2018
     13// Update Count     : 4
     14//
     15
    116void g( float f ) {}
    217void g( int i ) {}
     
    3348}
    3449
    35 
    36 int main(int argc, char const *argv[])
    37 {
     50int main( int argc, char const *argv[] ) {
     51        sout | nlOff;
    3852        test_t true_val, false_val;
    3953        true_val.x = 1;
     
    4155
    4256        true_val && false_val;
    43         sout | endl;
     57        sout | nl;
    4458
    4559        true_val || false_val;
    46         sout | endl;
     60        sout | nl;
    4761
    4862        false_val && true_val;
    49         sout | endl;
     63        sout | nl;
    5064
    5165        false_val || true_val;
    52         sout | endl;
     66        sout | nl;
    5367
    5468        return 0;
    5569}
     70
     71// Local Variables: //
     72// tab-width: 4 //
     73// compile-command: "cfa abs.cfa" //
     74// End: //
Note: See TracChangeset for help on using the changeset viewer.