rustc/tests/pretty/fn-return.rs
2024-06-21 09:39:33 +02:00

8 lines
108 B
Rust

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