It doesn’t need to actually deal damage. You can start to precast Arcane Missiles on a target, and before the first missile launches, you can cancel the cast, but you can still proc Clearcasting the instant the spell begins.
Blizzard functions similarly, but as far I was aware, it needed to affect something, but apparently not. I’ll play with it a bit on my Mage.