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