File "datastructures.d":
module datastructures;
import std.container;
import std.stdio;
struct MyStruct(T) {
T* element;
}
File "tests.d":
import datastructures;
void main() {
int i = 0;
}
I get this message in console when try to compile both with DMD
and GDC:
tests.o:(.data+0xc): undefined reference to `_D14datastructures12__ModuleInfoZ' collect2: выполнение ld завершилось с кодом возврата 1
--- errorlevel 1
