// error-pattern:quux fn test00_start(ch: chan_t, message: int) { send(ch, copy message); } type task_id = int; type port_id = int; enum chan_t = {task: task_id, port: port_id}; fn send(ch: chan_t, -data: T) { fail; } fn main() { fail "quux"; }