test21
auto test21 =
q{--- test21
// test fibonacci. while loop. func call
@extern(module, "host")
void print(i32); // external
void fibonacci() {
i32 lo = 0;
i32 hi = 1;
while (hi < 10000) {
hi = hi + lo;
lo = hi - lo;
print(lo);
}
}
};
tests passing
functionsvariables