module mod; import std.c.stdio; struct mod { int whatever; } void main() { mod myMod; myMod.whatever = 1692; //mod myMod = new mod(); printf("It works.\n"); }