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