Their stock becomes worthless. Folks that are owed money will come before the stockholders in bankruptcy.
Note to self: AVOID GM.