You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Theodosius/tests/demolib2/obj1.cpp

18 lines
327 B

extern "C" int MessageBoxA(void* hWnd,
char* lpText,
char* lpCaption,
void* uType);
struct test_t {
char buff[0x2000];
};
test_t t = {};
void AnotherFunc();
extern "C" void EntryPoint() {
t.buff[0] = 1;
t.buff[1] = 2;
AnotherFunc();
}