test97
auto test97 =
q{--- test97
// test proper GEP lowering for stack allocated data
// stack argument of add instruction should be detected and lea instruction must be produced
i32 index_array(i32 index)
{
i32[10] array;
array[index] = 42;
return array[index];
}
};
tests passing
functionsvariables