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