rust/tests/ui/return-nil.rs
2023-01-11 09:32:08 +00:00

7 lines
115 B
Rust

// run-pass
// pretty-expanded FIXME #23616
fn f() { let x: () = (); return x; }
pub fn main() { let _x = f(); }