v3.5.0.2
Basic and Diluted Earnings Per Share (Detail) - USD ($)
$ / shares in Units, shares in Millions, $ in Millions
3 Months Ended
Sep. 30, 2016
Sep. 30, 2015
Schedule of Earnings Per Share, Basic and Diluted, by Common Class [Line Items]    
Net income available for common shareholders (A) $ 4,690 $ 4,902
Weighted average outstanding shares of common stock (B) 7,789 7,996
Dilutive effect of stock-based awards 87 88
Common stock and common stock equivalents (C) 7,876 8,084
Earnings Per Share    
Basic (A/B) $ 0.60 $ 0.61
Diluted (A/C) $ 0.60 $ 0.61