f389ebf687
according to new mangling scheme
11 lines
172 B
C
11 lines
172 B
C
extern void *resolve_symbol(const char*);
|
|
|
|
int
|
|
run_test() {
|
|
int (*foo)(int, int) = resolve_symbol("kfun:foo(Int;Int)");
|
|
|
|
if (foo(2, 3) != 2) return 1;
|
|
|
|
return 0;
|
|
}
|