@Test
	@SuppressWarnings("unused")
	public void testStructConflictingMemberOffsets()
			throws CancelledException, IOException, DWARFException {
		DebugInfoEntry intDIE = addInt();
		DebugInfoEntry floatDIE = addFloat();

		DebugInfoEntry declDIE = new DIECreator(dwarfProg, DWARFTag.DW_TAG_structure_type) //
				.addString(DW_AT_name, "mystruct")
				.addBoolean(DW_AT_declaration, true)
				.create();

		DebugInfoEntry structDIE = new DIECreator(dwarfProg, DWARFTag.DW_TAG_structure_type) //
				.addRef(DW_AT_specification, declDIE)
				.addInt(DW_AT_byte_size, 100)
				.create();

		DebugInfoEntry structF1DIE = new DIECreator(dwarfProg, DWARFTag.DW_TAG_member) //
				.addString(DW_AT_name, "f1")
				.addRef(DW_AT_type, intDIE)
				.addInt(DW_AT_data_member_location, 10)
				.setParent(structDIE)
				.create();

		DebugInfoEntry structF2DIE = new DIECreator(dwarfProg, DWARFTag.DW_TAG_member) //
				.addString(DW_AT_name, "f2")
				.addRef(DW_AT_type, floatDIE)
				.addInt(DW_AT_data_member_location, 10)
				.setParent(structDIE)
				.create();

		importAllDataTypes();

		Structure structdt = (Structure) dataMgr.getDataType(uncatCP, "mystruct");
		assertEquals(1, structdt.getDefinedComponents().length);
		assertEquals("f1", structdt.getDefinedComponents()[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