The turret will only fire 'sideways' - the body of the turret will 'add' the angle the rotator has rotated it to whatever angle it's supposed to be aiming at.
Test ship (make sure to structure_set_vulnerable false all the bits while testing):
http://www.gamefront.com/files/25069517/turret_rotation_test.zip