2021-04-03 06:05:11 -05:00
|
|
|
//
|
2018-05-08 08:10:16 -05:00
|
|
|
//@ compile-flags:-Zprint-mono-items=eager
|
2017-10-06 16:59:33 -05:00
|
|
|
//@ compile-flags:-Zinline-in-all-cgus
|
2015-11-02 07:46:39 -06:00
|
|
|
|
|
|
|
#![deny(dead_code)]
|
2017-12-22 08:31:51 -06:00
|
|
|
#![feature(start)]
|
2015-11-02 07:46:39 -06:00
|
|
|
|
2021-02-14 15:42:38 -06:00
|
|
|
//~ MONO_ITEM fn std::ptr::drop_in_place::<Dropped> - shim(Some(Dropped)) @@ tuple_drop_glue-cgu.0[Internal]
|
2015-11-02 07:46:39 -06:00
|
|
|
struct Dropped;
|
|
|
|
|
|
|
|
impl Drop for Dropped {
|
2020-08-28 08:31:03 -05:00
|
|
|
//~ MONO_ITEM fn <Dropped as std::ops::Drop>::drop
|
2015-11-02 07:46:39 -06:00
|
|
|
fn drop(&mut self) {}
|
|
|
|
}
|
|
|
|
|
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 {
|
2021-02-14 15:42:38 -06:00
|
|
|
//~ MONO_ITEM fn std::ptr::drop_in_place::<(u32, Dropped)> - shim(Some((u32, Dropped))) @@ tuple_drop_glue-cgu.0[Internal]
|
2015-11-02 07:46:39 -06:00
|
|
|
let x = (0u32, Dropped);
|
|
|
|
|
2021-02-14 15:42:38 -06:00
|
|
|
//~ MONO_ITEM fn std::ptr::drop_in_place::<(i16, (Dropped, bool))> - shim(Some((i16, (Dropped, bool)))) @@ tuple_drop_glue-cgu.0[Internal]
|
|
|
|
//~ MONO_ITEM fn std::ptr::drop_in_place::<(Dropped, bool)> - shim(Some((Dropped, bool))) @@ tuple_drop_glue-cgu.0[Internal]
|
2015-11-02 07:46:39 -06:00
|
|
|
let x = (0i16, (Dropped, true));
|
2017-12-22 08:31:51 -06:00
|
|
|
|
|
|
|
0
|
2015-11-02 07:46:39 -06:00
|
|
|
}
|