xxxxxxxxxx
import std.array: staticArray;
@nogc void main()
{
// Use 'auto', not 'int[]', so that
// the type is inferred correctly as int[3]
auto di2 = staticArray([0, 1, 2]);
assert(is(typeof(di2) == int[3]));
}