Where an amalgamation does not qualify under s. 87 and, under the governing corporate law, the amalgamated corporation is considered to be a continuation of its predecessors, the predecessor corporations generally will not be considered to have disposed of any assets held immediately before the amalgamation. However, shareholders of each predecessor generally will be considered to have disposed of their shares for capital gains purposes.