test21_2

Undocumented in source.
immutable
@TestInfo(&tester21, [HostSymbol("print", cast(void*)&external_print_i32_func)])
auto test21_2 = q{--- test21_2 // Causes other order of phi functions, which requires correct move sequence to resolve // Tests phi resolution after register allocation @extern(module, "host") void print(i32); // external void fibonacci() { i32 lo = 0; i32 hi = 1; while (hi < 10000) { i32 tmp = hi; hi = hi + lo; lo = tmp; print(lo); } } };

Meta