rust/src/test/run-pass/return-nil.rs

5 lines
63 B
Rust

fn f() { let () x = (); ret x; }
fn main() { auto x = f(); }