rust/tests/pretty/fn-return.rs

8 lines
108 B
Rust

//@ pp-exact
// Check that `fn f() -> () {}` does not print as `fn f() {}`.
fn f() -> () {}
fn main() {}