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

5 lines
110 B
Rust
Raw Normal View History

// error-pattern:meep
fn f(a: int, b: int, c: @int) { fail ~"moop"; }
fn main() { f(1, fail ~"meep", @42); }