v3.7.0.1
Employee Purchased Shares (Detail) - $ / shares
shares in Millions
12 Months Ended
Jun. 30, 2017
Jun. 30, 2016
Jun. 30, 2015
Employee Stock Purchase Plan [Line Items]      
Shares purchased 13 15 16
Average price per share $ 56.36 $ 44.83 $ 39.87