Assuming you are assigned on both, each transaction will occur and you will effectively be left with the cash results, and no stock.