enum Enum { A = 1 } void main() { Enum[] enums = new Enum[1]; } DMD compiles the above fine, but it seems the call to __d_newarray never returns. Using the .length method instead of new fails in the same way, but changing A = 1 to A = 0 (or adding another member with a value of zero prior to A) makes it work.
Added to DStress as http://dstress.kuehne.cn/run/n/new_29_A.d http://dstress.kuehne.cn/run/n/new_29_B.d http://dstress.kuehne.cn/run/n/new_29_C.d http://dstress.kuehne.cn/run/n/new_29_D.d
Fixed DMD 1.014
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル