Changeset 385c130 for src/examples/gc_no_raii/bug-repro/void_pointer.c
- Timestamp:
- Apr 19, 2016, 1:19:25 PM (8 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, gc_noraii, 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:
- 9026b4b
- Parents:
- 356bb95
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/examples/gc_no_raii/bug-repro/void_pointer.c
r356bb95 r385c130 2 2 #include <stdint.h> 3 3 4 //inline intptr_t test(void*address)5 //{6 // return (intptr_t)address;7 //}4 inline void* test(intptr_t address) 5 { 6 return (void*)address; 7 } 8 8 9 9 //inline void* test2(void* address) … … 12 12 //} 13 13 14 inline int test()15 {16 void* d = 0;17 return (int)d;18 }14 // inline int test() 15 // { 16 // void* d = 0; 17 // return (int)d; 18 // }
Note: See TracChangeset
for help on using the changeset viewer.