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

/src/test/run-fail/args-fail.rs

http://github.com/jruderman/rust
Rust | 4 lines | 2 code | 1 blank | 1 comment | 0 complexity | abf121db7b1d4f27f459755e8e71e371 MD5 | raw file
1// error-pattern:meep
2fn f(a: int, b: int, c: @int) { fail ~"moop"; }
3
4fn main() { f(1, fail ~"meep", @42); }