Various fixes for HelloWorld. (#27)

This commit is contained in:
Nikolay Igotti
2016-11-01 15:33:41 +03:00
committed by GitHub
parent b142d39dbc
commit 7eeb2d3046
10 changed files with 70 additions and 18 deletions
@@ -0,0 +1,11 @@
extern void *resolve_symbol(const char*);
int
run_test() {
void (*main)(void*) = resolve_symbol("kfun:main");
main((void*)0);
return 0;
}