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

12 lines
173 B
Rust
Raw Normal View History

// xfail-stage1
// xfail-stage2
// xfail-stage3
2010-06-23 21:03:09 -07:00
// -*- rust -*-
// error-pattern: dead
2011-07-27 14:19:39 +02:00
fn f(caller: str) { log caller; }
2010-06-23 21:03:09 -07:00
2011-07-27 14:19:39 +02:00
fn main() { be f("main"); log "Paul is dead"; }
2010-06-23 21:03:09 -07:00