rust/tests/ui/return-nil.rs
2024-02-16 20:02:50 +00:00

7 lines
104 B
Rust

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