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

/src/test/compile-fail/bad-alt.rs

http://github.com/jruderman/rust
Rust | 6 lines | 4 code | 1 blank | 1 comment | 0 complexity | 0321a0e6930e05e4335782d643b4ce77 MD5 | raw file
1// error-pattern: expected
2
3fn main() {
4  let int x = 5;
5  match x;
6}