blob: 9d79171c4cb98e120f46390d19bdb128cf48bf88 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
// compile-flags:-Zprint-mono-items=eager -Zpolymorphize=on
#![feature(start)]
pub static FN : fn() = foo::<i32>;
pub fn foo<T>() { }
//~ MONO_ITEM fn static_init::foo[0]<T>
//~ MONO_ITEM static static_init::FN[0]
//~ MONO_ITEM fn static_init::start[0]
#[start]
fn start(_: isize, _: *const *const u8) -> isize {
0
}
|