A haploid-inducer corn line, designated AX6012, the plants and seeds of the haploid-inducer corn line AX6012, methods for producing a corn plant, either inbred or hybrid, produced through use of the haploid-inducer corn line AX6012 are disclosed. This invention also relates to methods for generating homozygous diploid corn plants from heterozygous diploid corn plants.