ADT
arm-eh
ast-experimental
cleanup-dtors
enum
forall-pointer-decay
jacob/cs343-translation
jenkins-sandbox
new-ast
new-ast-unique-expr
pthread-emulation
qualifiedEnum
|
Last change
on this file since cefa6cae was bf71cfd, checked in by Thierry Delisle <tdelisle@…>, 7 years ago |
|
Moved up many directories in source
|
-
Property mode
set to
100644
|
|
File size:
244 bytes
|
| Line | |
|---|
| 1 | #include <stddef.h>
|
|---|
| 2 | #include <stdint.h>
|
|---|
| 3 |
|
|---|
| 4 | inline void* test(intptr_t address)
|
|---|
| 5 | {
|
|---|
| 6 | return (void*)address;
|
|---|
| 7 | }
|
|---|
| 8 |
|
|---|
| 9 | //inline void* test2(void* address)
|
|---|
| 10 | //{
|
|---|
| 11 | // return address & 0xFF;
|
|---|
| 12 | //}
|
|---|
| 13 |
|
|---|
| 14 | // inline int test()
|
|---|
| 15 | // {
|
|---|
| 16 | // void* d = 0;
|
|---|
| 17 | // return (int)d;
|
|---|
| 18 | // }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.