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