test125
auto test125 =
q{--- test125
// Index expression over template should copy isType of template body
void freeArray[T](T[] array) {}
struct Array[T]
{
T* bufPtr;
u32 length;
u32 capacity;
void free()
{
freeArray[T](bufPtr[0..length]);
}
}
alias int_array = Array[i32];
};
tests passing
functionsvariables