1 // COMPILE_SEPARATELY 2 // EXTRA_SOURCES: imports/test8997a.d 3 4 module test8997; 5 6 import imports.test8997a; 7 main()8 void main() 9 { 10 auto a = new A(); 11 12 foreach(key; a.foobar.byKey()) 13 { 14 } 15 } 16