@Test
	public void testConstElide() throws CancelledException, IOException, DWARFException {
		DebugInfoEntry intDIE = addInt();

		DebugInfoEntry constDIE =
			new DIECreator(dwarfProg, DWARFTag.DW_TAG_const_type).addRef(DW_AT_type, intDIE)
					.create();

		DebugInfoEntry volatileDIE =
			new DIECreator(dwarfProg, DWARFTag.DW_TAG_volatile_type).addRef(DW_AT_type, intDIE)
					.create();

		DebugInfoEntry volatileconstDIE =
			new DIECreator(dwarfProg, DWARFTag.DW_TAG_volatile_type).addRef(DW_AT_type, constDIE)
					.create();

		DebugInfoEntry structDIE = new DIECreator(dwarfProg, DWARFTag.DW_TAG_structure_type) //
				.addString(DW_AT_name, "mystruct")
				.addInt(DW_AT_byte_size, 100)
				.create();

		newMember(structDIE, "f1", intDIE, 0).create();
		newMember(structDIE, "f2", constDIE, 10).create();
		newMember(structDIE, "f3", volatileDIE, 20).create();
		newMember(structDIE, "f4", volatileconstDIE, 40).create();

		importAllDataTypes();

		Structure structdt = (Structure) dataMgr.getDataType(uncatCP, "mystruct");
		DataTypeComponent f1dtc = structdt.getComponentContaining(0);
		DataTypeComponent f2dtc = structdt.getComponentContaining(10);
		DataTypeComponent f3dtc = structdt.getComponentContaining(20);
		DataTypeComponent f4dtc = structdt.getComponentContaining(40);

		assertEquals(f1dtc.getDataType(), f2dtc.getDataType());
		assertEquals(f1dtc.getDataType(), f3dtc.getDataType());
		assertEquals(f1dtc.getDataType(), f4dtc.getDataType());
	}
Test skipping const, volatile data types.
@throws CancelledException
@throws IOException
@throws DWARFException
Ghidra/Features/Base/src/test.slow/java/ghidra/app/util/bin/format/dwarf/DWARFDataTypeImporterTest.java