rust/src/test/compile-fail/dead-code-be.rs
2011-08-31 16:32:16 +02:00

10 lines
139 B
Rust

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