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

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

http://github.com/jruderman/rust
Rust | 3 lines | 1 code | 1 blank | 1 comment | 0 complexity | c7aecbf6e653fd6bebdcf657eb949c82 MD5 | raw file
1// error-pattern:expected `extern fn(~[str])
2
3fn main(x: int) { }