mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-12-04 10:24:13 +00:00
14 lines
147 B
C++
14 lines
147 B
C++
extern "C" int csub (int);
|
|
int
|
|
foo (int x)
|
|
{
|
|
return csub (x / 2);
|
|
}
|
|
|
|
extern "C" int cppsub_ (int *);
|
|
int
|
|
cppsub_ (int *y)
|
|
{
|
|
return foo (*y);
|
|
}
|