1 // { dg-additional-sources "mod2.d mod3.d" } 2 module mod1; 3 import mod2; 4 5 shared int x; this()6 shared static this() 7 { 8 x = 1; 9 } 10