// error-pattern:unsatisfied precondition constraint fn send(ch: _chan, -data: T) { log(debug, ch); log(debug, data); fail; } type _chan = int; // Tests that "log(debug, message);" is flagged as using // message after the send deinitializes it fn test00_start(ch: _chan, message: int, count: int) { send(ch, message); log(debug, message); } fn main() { fail; }