Sign in
fuchsia
/
third_party
/
rust
/
9ae1a664f7b947dadb9e97eea7703831d9cd5d31
/
.
/
src
/
test
/
ui
/
duplicate
/
dupe-symbols-2.rs
blob: 9257f97fb93bdb186f68252bc40ea78e95ccc5f3 [
file
] [
log
] [
blame
]
//
#![
crate_type
=
"rlib"
]
#![
allow
(
warnings
)]
pub
mod
a
{
#[
no_mangle
]
pub
extern
fn
fail
()
{
}
}
pub
mod
b
{
#[
no_mangle
]
pub
extern
fn
fail
()
{
//~^ symbol `fail` is already defined
}
}