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