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
107 B
Rust
Raw Normal View History

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