Changeset 919d1ba for src/tests/init_once.c
- Timestamp:
- Jul 11, 2016, 5:20:08 PM (10 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:
- 6f72453
- Parents:
- cad355a (diff), deefdc1 (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
-
src/tests/init_once.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/tests/init_once.c
rcad355a r919d1ba 10 10 // Created On : Tue Jun 14 15:43:35 2016 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Tue Jul 5 16:40:07201613 // Update Count : 212 // Last Modified On : Sat Jul 9 11:30:29 2016 13 // Update Count : 3 14 14 // 15 15 … … 23 23 //*** setup 24 24 extern "C" { 25 typedef unsigned long int size_t;26 25 #define NULL 0 27 26 void * malloc(size_t); 28 27 void free(void *); 29 28 #define assert(cond) if (! (cond)) { printf("Assertion failed: (%s) at %s:%d\n", #cond, __FILE__, __LINE__); abort(); } 30 int printf(const char *, ...);31 29 void *memset(void *s, int c, size_t n); 32 30 }
Note:
See TracChangeset
for help on using the changeset viewer.