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