@Test
	public void testViewReferencesShowThunkXrefs_FromNonThunk() {

		//
		// create thunk to 1001005 from 1001050
		//

		// thunk lives at 1001050
		String thunkAddress = "1001050";
		String baseFunctionAddress = "1001005";
		createThunkFunction(thunkAddress, baseFunctionAddress);

		/*
		 	Direct References

		 	01001009	                    ?? LAB_01001007	READ
			01001050	thunk_FUN_01001005	?? FUN_01001005	UNCONDITIONAL_CALL
			01001050	thunk_FUN_01001005	?? FUN_01001005	THUNK


			References to the Thunk Function

			01001046		?? thunk_FUN_01001005	UNCONDITIONAL_CALL	thunk
		 */

		doubleClickXRef(baseFunctionAddress, "XREF[1]: ");
		ComponentProvider comp = waitForComponentProvider(TableComponentProvider.class);
		TableComponentProvider<?> tableProvider = (TableComponentProvider<?>) comp;
		GhidraProgramTableModel<?> model = tableProvider.getModel();
		assertEquals(2, model.getRowCount());

		DockingActionIf showThunksAction = getLocalAction(tableProvider, "Show Thunk Xrefs");
		performAction(showThunksAction);
		waitForTableModel(model);

		assertEquals(3, model.getRowCount());
	}
Verifies that references inside of structures inside of structures, at the top-level
address will be displayed correctly.
Ghidra/Features/Base/src/test.slow/java/ghidra/app/util/viewer/field/XrefViewerTest.java