rust/src/test/compile-fail/dead-code-ret.rs
2012-11-15 16:59:07 -08:00

9 lines
141 B
Rust

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