rust/tests/ui/functions-closures/fn-bare-item.rs
2024-02-16 20:02:50 +00:00

9 lines
93 B
Rust

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