Non-designated Derivative Gains (Losses) (Detail) - USD ($) $ in Millions |
12 Months Ended | ||
|---|---|---|---|
Jun. 30, 2019 |
Jun. 30, 2018 |
Jun. 30, 2017 |
|
| Derivative Instruments, Gain (Loss) [Line Items] | |||
| Changes in fair value of derivatives not designated as hedges | $ (59) | $ (137) | $ (234) |
| Foreign Exchange Contracts | |||
| Derivative Instruments, Gain (Loss) [Line Items] | |||
| Changes in fair value of derivatives not designated as hedges | (97) | (33) | (117) |
| Equity Contracts | |||
| Derivative Instruments, Gain (Loss) [Line Items] | |||
| Changes in fair value of derivatives not designated as hedges | 3 | (87) | (114) |
| Other Contracts | |||
| Derivative Instruments, Gain (Loss) [Line Items] | |||
| Changes in fair value of derivatives not designated as hedges | $ 35 | $ (17) | $ (3) |