Components of Inventories (Detail) - USD ($)
$ in Millions
Mar. 31, 2016
Jun. 30, 2015
Inventory [Line Items]    
Raw materials $ 636 $ 1,100
Work in process 122 202
Finished goods 1,692 1,600
Total $ 2,450 $ 2,902