]> git.lizzy.rs Git - rust.git/blob - src/test/pretty/fn-return.rs
Merge commit 'e9d1a0a7b0b28dd422f1a790ccde532acafbf193' into sync_cg_clif-2022-08-24
[rust.git] / src / test / pretty / fn-return.rs
1 // pp-exact
2
3 // Check that `fn f() -> () {}` does not print as `fn f() {}`.
4
5 fn f() -> () {}
6
7 fn main() {}