mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Fix tests.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user