v3.10.0.1
Shares of Common Stock Outstanding (Detail) - shares
shares in Millions
12 Months Ended
Jun. 30, 2018
Jun. 30, 2017
Jun. 30, 2016
Equity [Abstract]      
Balance, beginning of year 7,708 7,808 8,027
Issued 68 70 75
Repurchased (99) (170) (294)
Balance, end of year 7,677 7,708 7,808