rust/src/test/compile-fail/dead-code-ret.rs

10 lines
152 B
Rust

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