diff --git a/test/test_suite/compile_time/compile_time_untyped.c3 b/test/test_suite/compile_time/compile_time_untyped.c3 index b825ded60..5d7bc9c71 100644 --- a/test/test_suite/compile_time/compile_time_untyped.c3 +++ b/test/test_suite/compile_time/compile_time_untyped.c3 @@ -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; } \ No newline at end of file diff --git a/test/test_suite/compile_time/ct_for.c3t b/test/test_suite/compile_time/ct_for.c3t index 92a369dc5..d4c26f6a9 100644 --- a/test/test_suite/compile_time/ct_for.c3t +++ b/test/test_suite/compile_time/ct_for.c3t @@ -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; diff --git a/test/test_suite/macros/macro_untyped_output.c3t b/test/test_suite/macros/macro_untyped_output.c3t index 6384d8661..de6f1c3a8 100644 --- a/test/test_suite/macros/macro_untyped_output.c3t +++ b/test/test_suite/macros/macro_untyped_output.c3t @@ -4,22 +4,17 @@ fn int main() { foo(); bar(0); - int x; - bar(x++); + int $x = 0; + bar($x++); return 0; } macro foo() => {}; -macro bar(x) => {}; +macro bar($x) => {}; /* #expect: test.ll define i32 @main() #0 { entry: - %x = alloca i32, align 4 - store i32 0, ptr %x, align 4 - %0 = load i32, ptr %x, align 4 - %add = add i32 %0, 1 - store i32 %add, ptr %x, align 4 ret i32 0 }