If a partnership return is filed by an entity for a taxable year but it is determined that the entity is not a partnership (or that there is no entity) for such year, then, to the extent provided in regulations, the provisions of this subchapter are hereby extended in respect of such year to such entity and its items and to persons holding an interest in such entity.
This subchapter shall not apply with respect to any tax imposed (including any amount required to be deducted or withheld) under chapter 2, 2A, 3, or 4, except that any partnership adjustment determined under this subchapter for purposes of chapter 1 shall be taken into account for purposes of determining any such tax to the extent that such adjustment is relevant to such determination.
Except as otherwise provided by the Secretary, in the case of any controlled foreign corporation (as defined in section 957 or 953(c)(1)) which is a partner of a partnership, each United States shareholder (as defined in section 951(b) or 953(c)(1)) with respect to such controlled foreign corporation shall be treated for purposes of this subchapter as a partner of such partnership. For purposes of the preceding sentence, any distributive share of any such United States shareholder with respect to such partnership shall, except as otherwise provided by the Secretary, be equal to such United States shareholder’s pro rata share with respect to such controlled foreign corporation (determined under rules similar to the rules of section 951(a)(2)).
For purposes of subparagraph (A), in the case of a passive foreign investment company (as defined in section 1297), each taxpayer that makes an election under section 1295 with respect to such company shall be treated in the same manner as United States shareholders under subparagraph (A), except that such taxpayer’s pro rata share with respect to the passive foreign investment company shall be determined under rules similar to the rules of section 1293(b).