26 USC 332 - Complete liquidations of subsidiaries
No gain or loss shall be recognized on the receipt by a corporation of property distributed in complete liquidation of another corporation.
For purposes of this section, a distribution shall be considered to be in complete liquidation only if
If such transfer of all the property does not occur within the taxable year, the Secretary may require of the taxpayer such bond, or waiver of the statute of limitations on assessment and collection, or both, as he may deem necessary to insure, if the transfer of the property is not completed within such 3-year period, or if the taxpayer does not continue qualified under paragraph (1) until the completion of such transfer, the assessment and collection of all income taxes then imposed by law for such taxable year or subsequent taxable years, to the extent attributable to property so received. A distribution otherwise constituting a distribution in complete liquidation within the meaning of this subsection shall not be considered as not constituting such a distribution merely because it does not constitute a distribution or liquidation within the meaning of the corporate law under which the distribution is made; and for purposes of this subsection a transfer of property of such other corporation to the taxpayer shall not be considered as not constituting a distribution (or one of a series of distributions) in complete cancellation or redemption of all the stock of such other corporation, merely because the carrying out of the plan involves (A) the transfer under the plan to the taxpayer by such other corporation of property, not attributable to shares owned by the taxpayer, on an exchange described in section 361, and (B) the complete cancellation or redemption under the plan, as a result of exchanges described in section 354, of the shares not owned by the taxpayer.
If a corporation receives a distribution from a regulated investment company or a real estate investment trust which is considered under subsection (b) as being in complete liquidation of such company or trust, then, notwithstanding any other provision of this chapter, such corporation shall recognize and treat as a dividend from such company or trust an amount equal to the deduction for dividends paid allowable to such company or trust by reason of such distribution.
In the case of any distribution to a foreign corporation in complete liquidation of an applicable holding company
For purposes of this subsection:
The term applicable holding company means any domestic corporation
If the distributee of a distribution described in paragraph (1) is a controlled foreign corporation (as defined in section 957), then notwithstanding paragraph (1) or subsection (a), such distribution shall be treated as a distribution to which section 331 applies.
The Secretary shall provide such regulations as appropriate to prevent the abuse of this subsection, including regulations which provide, for the purposes of clause (iv) of paragraph (2)(A), that a corporation is not in existence for any period unless it is engaged in the active conduct of a trade or business or owns a significant ownership interest in another corporation so engaged.