The rule for breeding with TMs, from what I've read, is:
"The Pokémon will start with any TM or HM moves (and in Crystal, Move Tutor moves) that the father knows and the baby can also learn by machine."
I have a male Helioptile with Volt Switch and I'm breeding it with a Ditto. The resulting...