TEST: constructor body test

This commit is contained in:
Vasily Levchenko
2016-11-18 06:04:29 +03:00
committed by vvlevchenko
parent 4d24d735de
commit 81742556a6
4 changed files with 24 additions and 6 deletions
@@ -4,7 +4,7 @@ int
run_test() {
int (*foo)(int, int) = resolve_symbol("kfun:foo(Int;Int)");
if (foo(2, 3) != 2) return 1;
if (foo(2, 3) != 5) return 1;
return 0;
}