Special rules for subparagraph (B)
(i) Closely held C corporations
(i)Closely held C corporations#
In the case of a closely held C corporation, the requirements of subparagraph (B) shall be treated as met for any taxable year if more than 50 percent of the gross receipts of such corporation for such taxable year are derived from real property trades or businesses in which the corporation materially participates.
(ii)Personal services as an employee#
For purposes of subparagraph (B), personal services performed as an employee shall not be treated as performed in real property trades or businesses. The preceding sentence shall not apply if such employee is a 5-percent owner (as defined in section 416(i)(1)(B)) in the employer.