Can reapers attack buildings when they are in bunkers?

I've never been able to build a bunker next to a hostile building to see if this works.


Yes, you can see it happening here


Yes, reapers can attack buildings outside of bunkers. Bunkers only add protection to units inside them. Any units inside bunkers are allowed to attack anything they usually would be able to in-range.