@Test
	public void testFunctionRegParamDiff12() throws Exception {
	
		// changed param from stack to register in program2
	
		int transactionID2 = p2.startTransaction("Test Transaction");
		Function function2 = p2.getFunctionManager().getFunctionAt(addr(p2, 0x1002cf5));
		Register dr0Reg = p2.getRegister("DR0");
		Variable var2 = new ParameterImpl("variable", new DWordDataType(), dr0Reg, p2);
		function2.removeParameter(0);
		function2.insertParameter(0, var2, SourceType.USER_DEFINED);
		p2.endTransaction(transactionID2, true);
	
		AddressSet expectedDiffs = new AddressSet(addr(0x1002cf5), addr(0x1002cf5));
		checkDiff(expectedDiffs, ProgramDiffFilter.FUNCTION_DIFFS);
	}
Test that ProgramDiff can determine that function parameter types are
different.
Ghidra/Features/Base/src/test.slow/java/ghidra/program/util/ProgramDiff3Test.java