v3.7.0.1
Components of Property and Equipment (Detail) - USD ($)
$ in Millions
Jun. 30, 2017
Jun. 30, 2016
Property, Plant and Equipment [Line Items]    
Land $ 1,107 $ 824
Buildings and improvements 16,284 12,393
Leasehold improvements 5,064 3,659
Computer equipment and software 21,414 17,391
Furniture and equipment 4,044 3,889
Total, at cost 47,913 38,156
Accumulated depreciation (24,179) (19,800)
Total, net $ 23,734 $ 18,356