v3.19.2
Gains (Losses) Related to Cash Flow Hedges (Detail) - Designated as Hedging Instruments - Foreign Exchange Contracts - USD ($)
$ in Millions
12 Months Ended
Jun. 30, 2019
Jun. 30, 2018
Jun. 30, 2017
Effective Portion      
Gains recognized in other comprehensive income (loss), net of tax of $1, $11, and $4 $ 159 $ 219 $ 328
Gains reclassified from accumulated other comprehensive income (loss) into revenue 341 185 555
Amount Excluded from Effectiveness Assessment and Ineffective Portion      
Losses recognized in other income (expense), net $ (64) $ (255) $ (389)