Changeset 6e4b913 for src/tests/avltree
- Timestamp:
- Jul 10, 2016, 4:35:32 PM (9 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- 4e06c1e, c13d970
- Parents:
- 07bc165
- Location:
- src/tests/avltree
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified src/tests/avltree/avl.h ¶
r07bc165 r6e4b913 4 4 extern "C" { 5 5 #define NULL 0 6 void free(void *);7 6 #define assert(cond) if (! (cond)) { printf("Assertion failed: (%s) at %s:%d\n", #cond, __FILE__, __LINE__); abort(); } 8 int printf(const char *, ...);9 7 } 10 8 -
TabularUnified src/tests/avltree/avl1.c ¶
r07bc165 r6e4b913 1 1 #include "avl.h" 2 2 // #include "cwrap.h" 3 4 extern "C" {5 void * malloc(long int);6 }7 3 8 4 forall(otype K | Comparable(K), otype V) -
TabularUnified src/tests/avltree/avl_test.c ¶
r07bc165 r6e4b913 3 3 4 4 extern "C" { 5 int printf(const char *, ...);6 5 int strcmp(const char *, const char *); 7 6 }
Note: See TracChangeset
for help on using the changeset viewer.