Changeset 74ec742 for tests/forall.cfa


Ignore:
Timestamp:
May 20, 2022, 10:36:45 AM (4 years ago)
Author:
m3zulfiq <m3zulfiq@…>
Branches:
ADT, ast-experimental, master, pthread-emulation, qualifiedEnum
Children:
25fa20a
Parents:
29d8c02 (diff), 7831e8fb (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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/forall.cfa

    r29d8c02 r74ec742  
    1 // 
     1//
    22// Cforall Version 1.0.0 Copyright (C) 2015 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 // forall.cfa -- 
    8 // 
     6//
     7// forall.cfa --
     8//
    99// Author           : Peter A. Buhr
    1010// Created On       : Wed May  9 08:48:15 2018
     
    1212// Last Modified On : Sat Jun  5 10:06:08 2021
    1313// Update Count     : 36
    14 // 
     14//
    1515
    1616void g1() {
     
    4545}
    4646
    47 typedef forall ( T ) int (* f)( int );
     47// commented this out since it is not clearly meaningful
     48// and not really representable in the ast
     49// typedef forall ( T ) int (* f)( int );
    4850
    4951forall( T )
     
    170172}
    171173
    172 forall( T | { T ?+?( T, T ); } ) forall( S | { T ?+?( T, S ); } ) 
     174forall( T | { T ?+?( T, T ); } ) forall( S | { T ?+?( T, S ); } )
    173175struct XW { T t; };
    174176XW(int,int) xww;
Note: See TracChangeset for help on using the changeset viewer.