// { dg-additional-sources "mod1.d mod3.d" }
module mod2;
import mod1;
import mod3;

void main()
{
    // do nothing
}