/src/test/run-fail/fail-arg.rs
http://github.com/jruderman/rust · Rust · 4 lines · 2 code · 1 blank · 1 comment · 0 complexity · 1f286b7159a9bfa5aed09837c03130ee MD5 · raw file
- // error-pattern:woe
- fn f(a: int) { log(debug, a); }
- fn main() { f(fail ~"woe"); }