Test for getters/setters added
This commit is contained in:
committed by
vvlevchenko
parent
f393dc3a03
commit
f80697817e
@@ -0,0 +1,9 @@
|
||||
extern void *resolve_symbol(const char*);
|
||||
|
||||
int
|
||||
run_test() {
|
||||
int (*fortyTwo)() = resolve_symbol("kfun:fortyTwo()");
|
||||
|
||||
if (fortyTwo() != 42) return 1;
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user