]>
git.proxmox.com Git - rustc.git/blob - src/test/codegen-units/tuple-drop-glue.rs
1 // Copyright 2012-2015 The Rust Project Developers. See the COPYRIGHT
2 // file at the top-level directory of this distribution and at
3 // http://rust-lang.org/COPYRIGHT.
5 // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6 // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7 // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8 // option. This file may not be copied, modified, or distributed
9 // except according to those terms.
11 // ignore-tidy-linelength
12 // compile-flags:-Zprint-trans-items=eager
16 //~ TRANS_ITEM drop-glue tuple_drop_glue::Dropped[0]
19 impl Drop
for Dropped
{
20 //~ TRANS_ITEM fn tuple_drop_glue::{{impl}}[0]::drop[0]
24 //~ TRANS_ITEM fn tuple_drop_glue::main[0]
26 //~ TRANS_ITEM drop-glue (u32, tuple_drop_glue::Dropped[0])
27 let x
= (0u32, Dropped
);
29 //~ TRANS_ITEM drop-glue (i16, (tuple_drop_glue::Dropped[0], bool))
30 //~ TRANS_ITEM drop-glue (tuple_drop_glue::Dropped[0], bool)
31 let x
= (0i16, (Dropped
, true));