Changeset 74ec742 for tests/forall.cfa
- Timestamp:
- May 20, 2022, 10:36:45 AM (4 years ago)
- 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. - File:
-
- 1 edited
-
tests/forall.cfa (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tests/forall.cfa
r29d8c02 r74ec742 1 // 1 // 2 2 // Cforall Version 1.0.0 Copyright (C) 2015 University of Waterloo 3 3 // 4 4 // The contents of this file are covered under the licence agreement in the 5 5 // file "LICENCE" distributed with Cforall. 6 // 7 // forall.cfa -- 8 // 6 // 7 // forall.cfa -- 8 // 9 9 // Author : Peter A. Buhr 10 10 // Created On : Wed May 9 08:48:15 2018 … … 12 12 // Last Modified On : Sat Jun 5 10:06:08 2021 13 13 // Update Count : 36 14 // 14 // 15 15 16 16 void g1() { … … 45 45 } 46 46 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 ); 48 50 49 51 forall( T ) … … 170 172 } 171 173 172 forall( T | { T ?+?( T, T ); } ) forall( S | { T ?+?( T, S ); } ) 174 forall( T | { T ?+?( T, T ); } ) forall( S | { T ?+?( T, S ); } ) 173 175 struct XW { T t; }; 174 176 XW(int,int) xww;
Note:
See TracChangeset
for help on using the changeset viewer.