Where a public corporation ("Parentco") holding shares of a public corporation ("Subco") with an accrued loss, sells the shares to a newly-incorporated subsidiary ("Newco") and Subco and Newco then merge within 30 days on a triangular amalgamation so that the minority shareholders of Subco become shareholders of Parentco, the capital loss otherwise realized by Parentco on the transfer of the shares will be denied by s. 40(3.4).