rust/src/test/compile-fail/dead-code-ret.rs
2012-08-01 19:16:06 -07:00

10 lines
155 B
Rust

// xfail-test
// -*- rust -*-
// error-pattern: dead
fn f(caller: str) { log(debug, caller); }
fn main() { return f("main"); debug!{"Paul is dead"}; }