// The runtime's `random` handler refuses a negative count, on both // backends (ADR 0036). import std/bytes import std/io import std/random.{type random} pub fn main :: -> () / { io.println "{bytes.length (random.bytes 2)}" io.println "never printed {bytes.length (random.bytes (-1))}" } //> 2 //! panic: random.bytes: negative count -1