this is my module: module myClass; class myClass () { this() { } }; and main app: import myClass; int main() { myClass my_instance = new myClass(); return 0; } What's wrong here ?