Files
c3c/test/test_suite/compile_time/not_yet_initialized.c3
Christoffer Lerno d5f965e137 Fix test.
2022-10-08 22:10:56 +02:00

18 lines
223 B
Plaintext

macro foo($Foo)
{
$Foo a;
return a;
}
fn void test1()
{
var $Bar;
foo($Bar); // #error: You need to assign a type to
}
fn void test2()
{
var $Bar;
$Bar z; // #error: You need to assign a type to
}