/src/test/run-pass/expr-empty-ret.rs

http://github.com/jruderman/rust · Rust · 5 lines · 2 code · 2 blank · 1 comment · 1 complexity · 96fb58ce2f21e1d471aecb38187e4f1f MD5 · raw file

  1. // Issue #521
  2. fn f() { let x = match true { true => { 10 } false => { return } }; }
  3. fn main() { }