14 lines
131 B
Rust
14 lines
131 B
Rust
// -*- rust -*-
|
|
|
|
// error-pattern: dead
|
|
|
|
fn f(str caller) {
|
|
log caller;
|
|
}
|
|
|
|
fn main() {
|
|
ret f("main");
|
|
log "Paul is dead";
|
|
}
|
|
|