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

/src/test/run-pass/for-loop-fail.rs

http://github.com/jruderman/rust
Rust | 1 lines | 1 code | 0 blank | 0 comment | 1 complexity | 36089fd0b163f7c34d60588d6216b115 MD5 | raw file
1fn main() { let x: ~[int] = ~[]; for x.each |_i| { fail ~"moop"; } }