- Timestamp:
- Jan 11, 2017, 4:11:02 PM (9 years ago)
- 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, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- 075734f
- Parents:
- bb82c03 (diff), d3a85240 (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. - Location:
- src/tests
- Files:
-
- 2 added
- 2 edited
-
.expect/tupleVariadic.txt (added)
-
avltree/avl.h (modified) (1 diff)
-
avltree/avl0.c (modified) (1 diff)
-
tupleVariadic.c (added)
Legend:
- Unmodified
- Added
- Removed
-
src/tests/avltree/avl.h
rbb82c03 r2162c2c 19 19 forall(otype T | Comparable(T)) 20 20 int ?>?(T t1, T t2); 21 22 // xxx - unbound type variable problems when trying to use new instead of create 23 // forall( otype T, ttype Params | { void ?{}(T *, Params); } ) T * new( Params p ); 21 24 22 25 forall(dtype T | { void ^?{}(T *); }) -
src/tests/avltree/avl0.c
rbb82c03 r2162c2c 10 10 return t2 < t1; 11 11 } 12 13 forall(dtype T | { void ^?{}(T *); })14 void delete(T * x) {15 if (x) {16 ^?{}(x);17 free(x);18 }19 }
Note:
See TracChangeset
for help on using the changeset viewer.