rust/tests/pretty/fn-return.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

8 lines
108 B
Rust
Raw Normal View History

//@ pp-exact
2021-12-01 19:45:14 +00:00
// Check that `fn f() -> () {}` does not print as `fn f() {}`.
2021-12-01 19:45:14 +00:00
fn f() -> () {}
2021-12-01 19:45:14 +00:00
fn main() {}