@Test
	public void testStructWithPtr() throws CancelledException, IOException, DWARFException {

		DebugInfoEntry intDIE = addInt();
		DebugInfoEntry floatDIE = addFloat();

		DebugInfoEntry struct1DIE = newStruct("mystruct", 100).create();
		newMember(struct1DIE, "f1", intDIE, 0).create();
		newMember(struct1DIE, "f2", floatDIE, 10).create();

		DebugInfoEntry struct2DIE = newStruct("mystruct2", 10).create();
		newMember(struct2DIE, "ptr_to_struct1", addPtr(struct1DIE), 0).create();

		importAllDataTypes();

		DataType structdt = dataMgr.getDataType(uncatCP, "mystruct");
		Structure struct2dt = (Structure) dataMgr.getDataType(uncatCP, "mystruct2");

		assertEquals(100, structdt.getLength());
		assertEquals("ptr_to_struct1", struct2dt.getComponentContaining(0).getFieldName());
	}
Test structure definition when incompatible structure defs are present in two CUs.
@throws CancelledException
@throws IOException
@throws DWARFException
Ghidra/Features/Base/src/test.slow/java/ghidra/app/util/bin/format/dwarf/DWARFDataTypeImporterTest.java