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