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

4 lines
112 B
Rust

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