Finite-Lived Intangible Assets (Parenthetical) (Detail) - USD ($)
$ in Millions
Mar. 31, 2016
Jun. 30, 2015
Finite-Lived Intangible Assets [Line Items]    
Net Carrying Amount $ 4,459 $ 4,835
Software to be sold, leased, or otherwise marketed    
Finite-Lived Intangible Assets [Line Items]    
Net Carrying Amount $ 128 $ 116