2020-07-22 14:03:56 +00:00
|
|
|
//@ compile-flags:-Zprint-mono-items=eager -Zpolymorphize=on
|
2016-05-09 22:14:41 +00:00
|
|
|
|
2017-12-22 14:31:51 +00:00
|
|
|
#![feature(start)]
|
|
|
|
|
2024-05-29 04:25:55 +00:00
|
|
|
pub static FN: fn() = foo::<i32>;
|
2016-05-09 22:14:41 +00:00
|
|
|
|
2024-05-29 04:25:55 +00:00
|
|
|
pub fn foo<T>() {}
|
2016-05-09 22:14:41 +00:00
|
|
|
|
2020-08-28 13:31:03 +00:00
|
|
|
//~ MONO_ITEM fn foo::<T>
|
|
|
|
//~ MONO_ITEM static FN
|
2016-05-09 22:14:41 +00:00
|
|
|
|
2020-08-28 13:31:03 +00:00
|
|
|
//~ MONO_ITEM fn start
|
2017-12-22 14:31:51 +00:00
|
|
|
#[start]
|
|
|
|
fn start(_: isize, _: *const *const u8) -> isize {
|
|
|
|
0
|
|
|
|
}
|