(In reply to Ketmar Dark from comment #8) > in your case, however, CTFE engine should abort before even trying to > evaluate anything, as `void` is not a value suitable for array element. this > check is easier, and it worth filling a bug in DMD bugzilla. Yes, I agree. Evaluating the function is also redundant, as void is specified to return 0. If I had made it return an int, the case would be different.