Intangible Assets - Additional Information (Detail) - USD ($) $ in Millions |
3 Months Ended | 9 Months Ended | |||
|---|---|---|---|---|---|
Mar. 31, 2016 |
Mar. 31, 2015 |
Mar. 31, 2016 |
Mar. 31, 2015 |
Jun. 30, 2015 |
|
| Finite-Lived Intangible Assets [Line Items] | |||||
| Intangible assets amortization expense | $ 249 | $ 361 | $ 740 | $ 1,100 | |
| Amortization of capitalized software | 18 | $ 13 | 55 | $ 68 | |
| Gross Carrying Amount | 9,751 | 9,751 | $ 9,552 | ||
| Accumulated Amortization | $ (5,292) | $ (5,292) | (4,717) | ||
| Restatement Adjustment | |||||
| Finite-Lived Intangible Assets [Line Items] | |||||
| Gross Carrying Amount | (585) | ||||
| Accumulated Amortization | $ 585 | ||||