backend/tests: update resolved symbol names

according to new mangling scheme
This commit is contained in:
Svyatoslav Scherbina
2016-11-14 13:33:44 +07:00
parent cc4f0ca1a4
commit f389ebf687
21 changed files with 37 additions and 37 deletions
@@ -2,7 +2,7 @@ extern void *resolve_symbol(const char*);
int
run_test() {
int (*cycle)(int) = resolve_symbol("kfun:cycle");
int (*cycle)(int) = resolve_symbol("kfun:cycle(Int)");
if (cycle(1) != 2) return 1;
if (cycle(0) != 1) return 1;
@@ -2,7 +2,7 @@ extern void *resolve_symbol(const char*);
int
run_test() {
int (*cycle_do)(int) = resolve_symbol("kfun:cycle_do");
int (*cycle_do)(int) = resolve_symbol("kfun:cycle_do(Int)");
if (cycle_do(3) != 5) return 1;
if (cycle_do(0) != 3) return 1;