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

		// CU1
		DebugInfoEntry intDIE = addInt();
		DebugInfoEntry struct1Decl = newDeclStruct("struct1").create();
		DebugInfoEntry struct2 = newStruct("struct2", 20).create();
		newMember(struct2, "struct1field", struct1Decl, 0).create();
		newMember(struct2, "guardfield", intDIE, 16).create();

		addCompUnit();

		// CU2
		DebugInfoEntry int2DIE = addInt();

		DebugInfoEntry struct1Impl = newStruct("struct1", 16).create();
		newMember(struct1Impl, "f1", int2DIE, 0).create();
		newMember(struct1Impl, "f2", int2DIE, 4).create();
		newMember(struct1Impl, "f3", int2DIE, 8).create();
		newMember(struct1Impl, "f4", int2DIE, 12).create();

		importAllDataTypes();

		Structure struct2dt = (Structure)dataMgr.getDataType(uncatCP, "struct2");

		assertEquals(2, struct2dt.getNumComponents());
		assertEquals(2, struct2dt.getNumDefinedComponents());
	}
Test structure definition when a struct is fwd decl'd in one CU and fully
defined in a second CU.

@throws CancelledException
@throws IOException
@throws DWARFException
Ghidra/Features/Base/src/test.slow/java/ghidra/app/util/bin/format/dwarf/DWARFDataTypeImporterTest.java