That example is for AVR processors, Teensy 2's.
Teensy 3 needs ARM interrupt code.