CPP:
extern "C" int GetValue(void);
int main(int argc, char*arg[])
{
char *p = "test";
int v = GetValue();
return 0;
}
ASM:
.486
.model flat, C
option casemap :none
.code
GetValue PROC
mov eax, 1234
ret
GetValue ENDP
END