PageRenderTime 7ms CodeModel.GetById 1ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

/src/test/run-fail/explicit-fail-msg.rs

http://github.com/jruderman/rust
Rust | 4 lines | 3 code | 0 blank | 1 comment | 2 complexity | 07127b64c5265fd7d3861c64191950c1 MD5 | raw file
1// error-pattern:wooooo
2fn main() {
3    let mut a = 1; if 1 == 1 { a = 2; } fail ~"woooo" + ~"o";
4}