source:
tests/zombies/gc_no_raii/bug-repro/void_pointer.c
@
84334d0
Last change on this file since 84334d0 was 87b9332, checked in by , 4 years ago | |
---|---|
|
|
File size: 244 bytes |
Rev | Line | |
---|---|---|
[29ad0ac] | 1 | #include <stddef.h> |
2 | #include <stdint.h> | |
3 | ||
[385c130] | 4 | inline void* test(intptr_t address) |
5 | { | |
6 | return (void*)address; | |
7 | } | |
[29ad0ac] | 8 | |
9 | //inline void* test2(void* address) | |
10 | //{ | |
11 | // return address & 0xFF; | |
12 | //} | |
13 | ||
[385c130] | 14 | // inline int test() |
15 | // { | |
16 | // void* d = 0; | |
17 | // return (int)d; | |
18 | // } |
Note: See TracBrowser
for help on using the repository browser.