v3.19.2
Gains (Losses) Related to Cash Flow Hedges (Parenthetical) (Detail) - USD ($)
$ in Millions
12 Months Ended
Jun. 30, 2019
Jun. 30, 2018
Jun. 30, 2017
Designated as Hedging Instruments | Foreign Exchange Contracts      
Derivative Instruments, Gain (Loss) [Line Items]      
Gains recognized in other comprehensive income (loss), tax $ 1 $ 11 $ 4