source: src/examples/gc_no_raii/bug-repro/void_pointer.c @ 29ad0ac

aaron-thesisarm-ehcleanup-dtorsctordeferred_resndemanglergc_noraiijacob/cs343-translationjenkins-sandboxmemorynew-astnew-ast-unique-exprnew-envno_listpersistent-indexerresolv-newwith_gc
Last change on this file since 29ad0ac was 29ad0ac, checked in by Thierry Delisle <tdelisle@…>, 6 years ago

some regression testing

  • Property mode set to 100644
File size: 240 bytes
Line 
1#include <stddef.h>
2#include <stdint.h>
3
4//inline intptr_t test(void* address)
5//{
6//      return (intptr_t)address;
7//}
8
9//inline void* test2(void* address)
10//{
11//      return address & 0xFF;
12//}
13
14inline int test()
15{
16        void* d = 0;
17        return (int)d;
18}
Note: See TracBrowser for help on using the repository browser.