use new function syntax in tests

This commit is contained in:
Quentin Carbonneaux 2015-09-18 12:27:50 -04:00
parent fff669e54a
commit e6048212be
18 changed files with 19 additions and 19 deletions

View file

@ -824,7 +824,7 @@ printfn(Fn *fn, FILE *f)
Ins *i;
uint n;
fprintf(f, "function $%s {\n", fn->name);
fprintf(f, "function $%s() {\n", fn->name);
for (b=fn->start; b; b=b->link) {
fprintf(f, "@%s\n", b->name);
for (p=b->phi; p; p=p->link) {