Sign in
rust
/
rust-lang
/
rust
/
HEAD
/
.
/
tests
/
ui
/
modules
/
mod-same-item-names.rs
blob: 1e9a9caa5fc5d441ebab14604cd9b9c1a707e033 [
file
] [
log
] [
blame
]
//! Test that items with identical names can coexist in different modules
//@ run-pass
#![
allow
(
dead_code
)]
mod
foo
{
pub
fn
baz
()
{}
}
mod
bar
{
pub
fn
baz
()
{}
}
pub
fn
main
()
{}