The IRS has ruled (PLR 201314005) that a foreign corporation
should include its distributive share of foreign partnerships gross
receipts for purposes of computing the gross receipts test under
Section 165(g)(3)(B).
Section 165(g)(1) provides, in general, that if a security that
is a capital asset becomes worthless during the taxable year, the
resulting loss will be treated as a loss from the sale or exchange
of a capital asset. Securities in a corporation affiliated with a
domestic corporation are not treated as a capital asset if i) the
taxpayer directly owns stock in such affiliated corporation,
meeting the requirements of Section 1504(a)(2); and ii) more than
90% of the aggregate of its gross receipts for all taxable years
has been from sources other than royalties, rents, dividends,
interest, annuities or gains from the sale or exchange of stocks
and securities.