/* 注意: このプログラムはコンパイルに失敗する可能性がある。 */ module pind.samples.ja.class_.class_1; class ChessPiece { dchar shape; size_t value; } void main() { auto king = new ChessPiece('♔', 100); // ← コンパイルエラー }