rust/tests/pass/main_fn.rs
2022-06-01 10:53:38 -04:00

8 lines
90 B
Rust

#![feature(imported_main)]
mod foo {
pub(crate) fn bar() {}
}
use foo::bar as main;