1 module imports.g313; 2 3 // adds public package imports (see Bugzilla 15900) 4 public import imports.g313public; 5 // same w/ deferred semantics 6 static if (true) 7 public import imports.g313staticif; 8 mixin("public import imports.g313stringmixin;"); 9 impD()10template impD() 11 { 12 public import imports.g313templatemixin; 13 } 14 15 mixin impD!(); 16 test15900()17void test15900() 18 { 19 // publically imported modules should obviously be available in here as well 20 imports.g313public.bug(); 21 imports.g313staticif.bug(); 22 imports.g313stringmixin.bug(); 23 imports.g313templatemixin.bug(); 24 } 25