Changeset 91788fa for src/tests/io2.c


Ignore:
Timestamp:
Jul 25, 2018, 6:23:58 PM (6 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, no_list, persistent-indexer, pthread-emulation, qualifiedEnum
Children:
a95c117, f0b3f51
Parents:
40a7d9c (diff), e89f4b1 (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 plg2:software/cfa/cfa-cc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/tests/io2.c

    r40a7d9c r91788fa  
    1 // 
     1//
    22// Cforall Version 1.0.0 Copyright (C) 2016 University of Waterloo
    33//
    44// The contents of this file are covered under the licence agreement in the
    55// file "LICENCE" distributed with Cforall.
    6 // 
    7 // io2.c -- 
    8 // 
     6//
     7// io2.c --
     8//
    99// Author           : Peter A. Buhr
    1010// Created On       : Wed Mar  2 16:56:02 2016
     
    1212// Last Modified On : Thu May 24 21:17:41 2018
    1313// Update Count     : 103
    14 // 
     14//
    1515
    1616#include <fstream>
     17
     18 #define xstr(s) str(s)
     19#define str(s) #s
    1720
    1821int main() {
     
    3841        char s1[size], s2[size];
    3942
    40         ifstream in = { "io.data" };                                            // create / open file
     43        ifstream in = { xstr(IN_DIR) "io.data" };                                               // create / open file
    4144
    4245        sout | "input bacis types" | endl;
Note: See TracChangeset for help on using the changeset viewer.