Summon an Ender Dragon and attempt to melee attack it. The dragon will take no damage whatsoever regardless of weapon/enchantments/potion effects.
Other mobs still take damage as normal, and projectiles (including snowballs) still work on the Ender Dragon.
This is possibly related to the fix for MC-65603.
Environment
Creative
Fixed for a future version. MC-73026