]> git.saurik.com Git - apple/xnu.git/blob - tests/osptr_helper.cpp
xnu-6153.11.26.tar.gz
[apple/xnu.git] / tests / osptr_helper.cpp
1 #include <stdint.h>
2
3 extern "C" {
4 uintptr_t
5 pass_trivial(uintptr_t x)
6 {
7 return x;
8 }
9 uintptr_t
10 pass_complex(uintptr_t x)
11 {
12 return x;
13 }
14 uintptr_t
15 _Z14return_trivialm(uintptr_t x)
16 {
17 return x;
18 }
19 uintptr_t
20 _Z14return_complexm(uintptr_t x)
21 {
22 return x;
23 }
24 }