如果想调用ABC的test就用a.ABC::test(1);
想要XYZ的就用a.XYZ::test(1);
void main()
{
child a;
a.ABC::test(1);
a.XYZ::test(1);
}