Penal Code § 880
CHAPTER 7. Examination of the Case, and Discharge of the Defendant, or Holding Him to Answer
Infants who are material witnesses against the defendant may be required to procure sureties for their appearance, as provided in the last section.