Debian Codegraph @

gcc/testsuite/gdc.test/runnable/extra-files/test24590.d

raw
1 shared static this() {
2 throw new Exception("module constructor");
3 }
4
5 shared static ~this() {
6 import core.stdc.stdio;
7 puts("module destructor");
8 }
9
10 void main() {}