rust/src/test/run-fail/binop-fail.rs

4 lines
112 B
Rust

// error-pattern:quux
fn my_err(s: str) -> ! { log(error, s); fail "quux"; }
fn main() { my_err("bye") == 3u; }