PageRenderTime 4ms CodeModel.GetById 2ms app.highlight 0ms RepoModel.GetById 1ms app.codeStats 1ms

/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
1// error-pattern:woe
2fn f(a: int) { log(debug, a); }
3
4fn main() { f(fail ~"woe"); }