rust/src/test/run-fail/fail-arg.rs

10 lines
94 B
Rust

// xfail-stage0
// error-pattern:woe
fn f(int a) {
log a;
}
fn main() {
f(fail "woe");
}