]> git.lizzy.rs Git - rust.git/blob - src/test/ui/return-nil.rs
Merge commit '2bb3996244cf1b89878da9e39841e9f6bf061602' into sync_cg_clif-2022-12-14
[rust.git] / src / test / ui / return-nil.rs
1 // run-pass
2 // pretty-expanded FIXME #23616
3
4 fn f() { let x: () = (); return x; }
5
6 pub fn main() { let _x = f(); }