In no event shall the amount under subdivision (ii) of this subparagraph exceed the amount includible in gross income with respect to such taxes under section 78 and § 1.78-1 . The credit for such taxes provided by section 901 shall not be allowed against the accumulated earnings tax imposed by section 531. See section 901(a).
Example. X Corporation has capital losses of $30,000 which are disallowed under section 1211(a) for the taxable year ended December 31, 1956. This amount represents a loss of $25,000 from the sale or exchange of capital assets during the taxable year ended December 31, 1956, plus a $5,000 capital loss carryover resulting from the sale or exchange of capital assets during the taxable year ended December 31, 1955. In computing accumulated taxable income for the taxable year ended December 31, 1956, only the loss of $25,000 arising from the sale or exchange of capital assets during that taxable year will be allowed as a deduction.
Where the tax (except the accumulated earnings tax) imposed by subtitle A includes an amount computed under section 1201(a)(2), the tax attributable to such excess is such amount computed under section 1201(a)(2).
Example. Assume that D Corporation, for the taxable year ended December 31, 1956, has taxable income of $103,000 of which $8,000 is the excess of net long-term capital gain of $12,000 over a net short-term capital loss of $9,000. The $9,000 net short-term capital loss includes a capital loss carryover of $5,000. The amount allowable as a deduction under section 535(b)(6) and subparagraph (1) of this paragraph is $7,250, computed as follows: Net long-term capital gain less net short-term capital loss (computed without regard to the capital loss carryover) is $8,000 (that is, $12,000 net long-term capital gain less $4,000 net short-term capital loss computed without regard to the capital loss carryover of $5,000). The tax attributable to the excess of net long-term capital gain over net short-term capital loss (computed by taking the capital loss carryover into account) is $750, that is, 25 percent of such excess of $3,000, computed under section 1201(a)(2). The difference of $7,250 ($8,000 less $750) is the amount allowable as a deduction in computing accumulated taxable income.
26 C.F.R. §1.535-2