Long-Lived Assets, Excluding Financial Instruments and Tax Assets, Classified by Location of Controlling Statutory Company (Detail) - USD ($) $ in Millions |
Jun. 30, 2017 |
Jun. 30, 2016 |
Jun. 30, 2015 |
|---|---|---|---|
| Certain Long-Lived Assets by Geography [Line Items] | |||
| Long-lived assets | $ 68,962 | $ 39,961 | $ 36,505 |
| United States | |||
| Certain Long-Lived Assets by Geography [Line Items] | |||
| Long-lived assets | 39,118 | 22,819 | 19,562 |
| Ireland | |||
| Certain Long-Lived Assets by Geography [Line Items] | |||
| Long-lived assets | 12,876 | 2,078 | 1,595 |
| Luxembourg | |||
| Certain Long-Lived Assets by Geography [Line Items] | |||
| Long-lived assets | 6,845 | 6,854 | 6,879 |
| Other Countries | |||
| Certain Long-Lived Assets by Geography [Line Items] | |||
| Long-lived assets | $ 10,123 | $ 8,210 | $ 8,469 |