mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-14 02:49:40 +00:00
17 lines
263 B
Rust
17 lines
263 B
Rust
//@ compile-flags:-Zprint-mono-items=eager
|
|
|
|
#![feature(start)]
|
|
|
|
pub static FN: fn() = foo::<i32>;
|
|
|
|
pub fn foo<T>() {}
|
|
|
|
//~ MONO_ITEM fn foo::<i32>
|
|
//~ MONO_ITEM static FN
|
|
|
|
//~ MONO_ITEM fn start
|
|
#[start]
|
|
fn start(_: isize, _: *const *const u8) -> isize {
|
|
0
|
|
}
|