Um, I'm not a CPA, and I definitely don't know how California taxes work, but at the federal level, isn't that (taxation at the corporate level) pretty much the opposite of how an S-Corp works?
In California, S-Corps pay a 1.5% franchise tax on net income (minimum $800). You pay this even if your net income is zero or negative. You pay this no matter what.
Disclosure: I'm also not a CPA.
(We file as S, but thankfully I'm not the person here that has to know exactly how this stuff works. See previous comments for evidence that you should not take tax advice from me.)