]> git.lizzy.rs Git - rust.git/blob - src/test/ui/binop/binop-panic.rs
Merge commit 'e36a20c24f35a4cee82bbdc600289104c9237c22' into ra-sync-and-pms-component
[rust.git] / src / test / ui / binop / binop-panic.rs
1 // run-fail
2 // error-pattern:quux
3 // ignore-emscripten no processes
4
5 fn my_err(s: String) -> ! {
6     println!("{}", s);
7     panic!("quux");
8 }
9
10 fn main() {
11     3_usize == my_err("bye".to_string());
12 }