rust/tests/ui/functions-closures/fn-bare-item.rs
2023-01-11 09:32:08 +00:00

8 lines
92 B
Rust

// run-pass
fn f() {
println!("This is a bare function");
}
pub fn main() {
f();
}