The trial of the indictment or information or the sentencing, as the case may be, shall be suspended until the question of mental competency is determined by the court.

Source: SDC 1939 & Supp 1960, § 34.2002; SDCL, § 23-38-3; SL 1978, ch 175, § 5; SL 1991, ch 199, § 10; SL 1991, ch 200.