What happens in below scenario,

I have my gold storage size of 151,000 and its completely full. Then I attack some player from multiplayer battle and loot more gold? Where it will go? I am not able to see it in clan storage? Will it be deposited in later stage or it just get wasted?