Ignore:
Timestamp:
Apr 19, 2016, 1:19:25 PM (8 years ago)
Author:
Thierry Delisle <tdelisle@…>
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
Message:

pre merge

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/examples/gc_no_raii/bug-repro/void_pointer.c

    r356bb95 r385c130  
    22#include <stdint.h>
    33
    4 //inline intptr_t test(void* address)
    5 //{
    6 //      return (intptr_t)address;
    7 //}
     4inline void* test(intptr_t address)
     5{
     6        return (void*)address;
     7}
    88
    99//inline void* test2(void* address)
     
    1212//}
    1313
    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.