IRremote library works with Leonardo?

My IR Transmit LED is fixed connect on digital pin 11.

On the Leonardo?