My guess is it would melt and you would be fine.
I had a similar experience when I was eight. I accidentally inhaled the cherry lifesaver I was enjoying and it lodged in my airway. The hole allowed me to breathe; it dissolved before long and I made a full recovery in time for recess. It really freaked me out and I still remember the sensation of it being stuck there.