I've done this as well, but any atm that i've known eats the card.
so yeah the atm ate mine by the time i realized i had left it, and I just had to go to the bank the next day and they gave it back to me. that sucked... because I just so needed gas, and a bunch of other things that day and didn't have my card.