/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
- // error-pattern:meep
- fn f(a: int, b: int, c: @int) { fail ~"moop"; }
- fn main() { f(1, fail ~"meep", @42); }