@Test
	public void testRemoveLatestChangeMyOverlapConflict() throws Exception {
		mtf.initialize("NotepadMergeListingTest", new ProgramModifierListener() {

			// 0100299e		FUN_0100299e	body:100299e-1002a90
			// 01002a91		FUN_01002a91	body:1002a91-1002b43
			// 01002b44		FUN_01002b44	body:1002b44-1002b7c
			// 01002b7d		FUN_01002b7d	body:1002b7d-1002c92
			// 01002c93		FUN_01002c93	body:1002c93-1002cf4
			// 01002cf5		FUN_01002cf5	body:1002cf5-1002d6d
			// 01002f01		FUN_01002f01	body:1002f01-10030c5
			// 010031ee		FUN_010031ee	body:10031ee-100324f
			// 01003250		FUN_01003250	body:1003250-10032d4
			// 01003bed		FUN_01003bed	body:1003bed-1003efb
			// 01005c6f		FUN_01005c6f	body:[1005c6f-1005fbd][1005ff5-10061e2]
			// 01006420		entry			body:[1006420-1006581][10065a4-10065cd]

			@Override
			public void modifyLatest(ProgramDB program) throws Exception {
				removeFunction(program, "0x1002a91");
				Function func = getFunction(program, "0x1002b44");
				func.setReturnType(new ByteDataType(), SourceType.ANALYSIS);

				removeFunction(program, "0x1002b7d");
				func = getFunction(program, "0x1002c93");
				func.setReturnType(new ByteDataType(), SourceType.ANALYSIS);
			}

			@Override
			public void modifyPrivate(ProgramDB program) {
				removeFunction(program, "0x1002a91");
				removeFunction(program, "0x1002b44");
				AddressSet body1002a91 =
					new AddressSet(addr(program, "0x1002a91"), addr(program, "0x1002b49"));
				createFunction(program, "0x1002a91", "FUN_01002a91", body1002a91);

				removeFunction(program, "0x1002b7d");
				removeFunction(program, "0x1002c93");
				AddressSet body1002b7d =
					new AddressSet(addr(program, "0x1002b7d"), addr(program, "0x1002c9c"));
				createFunction(program, "0x1002b7d", "FUN_01002b7d", body1002b7d);
			}
		});

		executeMerge(ASK_USER);
		horizontalChooseFunction("0x1002a91", KEEP_LATEST);
		horizontalChooseFunction("0x1002b7d", KEEP_MY);
		waitForMergeCompletion();

		noFunction(resultProgram, "0x1002a91");
		AddressSet body1002b44 = new AddressSet(addr("0x1002b44"), addr("0x1002b7c"));
		checkFunction(resultProgram, "0x1002b44", "FUN_01002b44", body1002b44);

		AddressSet body1002b7d = new AddressSet(addr("0x1002b7d"), addr("0x1002c9c"));
		checkFunction(resultProgram, "0x1002b7d", "FUN_01002b7d", body1002b7d);
		noFunction(resultProgram, "0x1002c93");
	}
Test the merge of the versioned program's listing.
Ghidra/Features/Base/src/test.slow/java/ghidra/app/merge/listing/FunctionMergeManager2Test.java