Fix tests.

This commit is contained in:
Christoffer Lerno
2025-07-03 22:37:23 +02:00
parent 9b3b4ae8be
commit 635d4babc4
3 changed files with 5 additions and 10 deletions

View File

@@ -9,6 +9,6 @@ macro test(int x)
}
fn int main()
{
Test a = test(3);
Test a = test(3); // #error: returns an untyped list
return 0;
}

View File

@@ -11,7 +11,7 @@ fn void main()
printf("Foo %d\n", $i);
$endfor;
$for $i = 0, var $j = 100; $i < 4;:
$for var $i = 0, var $j = 100; $i < 4;:
printf("Foo %d %d\n", $i++, $j--);
$endfor;