23A-22-7. Discharge of defendant to testify against codefendant.
When two or more persons are included in the same indictment or information, a court may on the application of the prosecuting attorney, at any time before the defendants have gone into their defense, direct any defendant to be discharged from the indictment or information, in order that he may be a witness for the prosecution.
Source: SDC 1939 & Supp 1960, §34.3626; SDCL, §23-44-7; SL 1978, ch 178, §290.