Benjamin Thaut, yes I know. but here is an example, if I add a class to the code like that:extern (C) void printf(const char*, ...);
module main;
extern (C) void* _Dmodule_ref = null;class A {
extern (C) void puts(const char*);
extern (C) void exit(int);
int a = 100;
int b = 200;A a; printf("%d %d\n", a.a, a.b);
};
extern (C) void main() {
scope(exit) {
puts("Exiting!");
exit(0);
}
}