Get your taxes done using TurboTax

The disallowed loss ($4,000 in this instance) will be added to the basis of the replacement shares. 

View solution in original post