+ ind2 = gom_add_individual("@IND2@");
+ if (!ind2) return 219;
+
+ ind3 = gom_add_individual("@IND3@");
+ if (!ind3) return 220;
+
+ ind4 = gom_add_individual("@IND4@");
+ if (!ind4) return 221;
+
+ xrl = gom_add_xref(&(fam1->children), ind2->xrefstr);
+ if (!xrl) return 222;
+
+ xrl = gom_add_xref(&(fam1->children), ind3->xrefstr);
+ if (!xrl) return 223;
+
+ xrl = gom_add_xref(&(fam1->children), ind4->xrefstr);
+ if (!xrl) return 224;
+
+ result = gom_remove_xref(&(fam1->children), ind3->xrefstr);
+ if (result != 0) return 225;
+
+ result = gom_remove_xref(&(fam1->children), ind4->xrefstr);
+ if (result != 0) return 226;
+
+ output(1, "Intermediate output:\n");