@Test
	public void testAddLatestOverlapConflict() throws Exception {
		// 0100194b		FUN_0100194b	body:100194b-1001977
		// 01001978		FUN_01001978	body:1001978-1001ae2
		// 01001ae3		FUN_01001ae3	body:1001ae3-100219b

		// 01002950		FUN_01002950	body:1002950-100299d
		// 0100299e		FUN_0100299e	body:100299e-1002a90
		// 01002a91		FUN_01002a91	body:1002a91-1002b43

		mtf.initialize("NotepadMergeListingTest", new ProgramModifierListener() {

			@Override
			public void modifyLatest(ProgramDB program) {
				AddressSet body1001979 =
					new AddressSet(addr(program, "0x1001979"), addr(program, "0x100199a"));
				createFunction(program, "0x1001979", "FUN_01001979", body1001979);

				AddressSet body10029a1 =
					new AddressSet(addr(program, "0x10029a1"), addr(program, "0x10029ca"));
				createFunction(program, "0x10029a1", "FUN_010029a1", body10029a1);
			}

			@Override
			public void modifyPrivate(ProgramDB program) {
				removeFunction(program, "0x100194b");
				AddressSet body100194b =
					new AddressSet(addr(program, "0x100194b"), addr(program, "0x100197f"));
				createFunction(program, "0x100194b", "FUN_0100194b", body100194b);

				removeFunction(program, "0x1002950");
				AddressSet body1002950 =
					new AddressSet(addr(program, "0x1002950"), addr(program, "0x10029a4"));
				createFunction(program, "0x1002950", "FUN_01002950", body1002950);
			}
		});

		executeMerge(ASK_USER);
		horizontalChooseFunction("0x100194b", KEEP_LATEST);
		horizontalChooseFunction("0x1002950", KEEP_MY);
		waitForMergeCompletion();

		AddressSet body100194b = new AddressSet(addr("0x100194b"), addr("0x1001977"));
		checkFunction(resultProgram, "0x100194b", "FUN_0100194b", body100194b);
		AddressSet body1001979 = new AddressSet(addr("0x1001979"), addr("0x100199a"));
		checkFunction(resultProgram, "0x1001979", "FUN_01001979", body1001979);

		AddressSet body1002950 = new AddressSet(addr("0x1002950"), addr("0x10029a4"));
		checkFunction(resultProgram, "0x1002950", "FUN_01002950", body1002950);
		noFunction(resultProgram, "0x10029a1");
	}
Test the merge of the versioned program's listing.
Ghidra/Features/Base/src/test.slow/java/ghidra/app/merge/listing/FunctionMergeManagerTest.java