Very interesting, but are you sure about that example?
Const. of C.S.A. art. I, § 9, ¶ 4 restricted their federal legislature's power:
> No bill of attainder, ex post facto law, or law denying or impairing the right of property in negro slaves shall be passed.
The next section similarly restricted the states' power to "pass any bill of attainder, or ex post facto law" but did not reference slavery.