1 module imports.g313; 2 3 // adds public package imports (see https://issues.dlang.org/show_bug.cgi?id=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 10 template impD() 11 { 12 public import imports.g313templatemixin; 13 } 14 15 mixin impD!(); 16 17 void 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 }