That still happens in emerging markets today. It's basically happening to Argentina for example.
Weimar had liabilities denominated in a currency it can't print, much like an emerging market today.
There are scenarios where it can happen to the United States, but it takes a *lot* of sociopolitical breakdown for it to happen.
