Thanks for the replies. I was talking about a plane with a working stall warner, and specifically a stall warner, not warnings of the stall approaching.
When I was learning, one of the things when doing stall practices was to set carb heat to cold when the warner sounded ready for the recovery. I think my instructor would have had words if it wasn't working and I hadn't spotted it during my walk around.