Sign in
rust
/
rust-lang
/
rust
/
refs/heads/lcnr/rustc-dev-guide
/
.
/
tests
/
codegen-units
/
item-collection
/
static-init.rs
blob: df5eb830bf38730e164d1e69b60008c04411d81e [
file
] [
log
] [
blame
]
//@ compile-flags:-Clink-dead-code
#![
crate_type
=
"lib"
]
static
FN
:
fn
()
=
foo
::<
i32
>;
fn
foo
<
T
>()
{}
//~ MONO_ITEM fn foo::<i32>
//~ MONO_ITEM static FN
//~ MONO_ITEM fn start
#[
no_mangle
]
pub
fn
start
(
_
:
isize
,
_
:
*
const
*
const
u8
)
->
isize
{
0
}