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

17 lines
178 B
Rust

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