3 #![allow(non_camel_case_types)]
4 #![allow(non_snake_case)]
5 // ignore-pretty unreported
7 #![feature(box_syntax)]
9 pub trait bomb { fn boom(&self, _: Ident); }
11 impl bomb for S { fn boom(&self, _: Ident) { } }
13 pub struct Ident { name: usize }
15 macro_rules! int3 { () => ( { } ) }
17 fn Ident_new() -> Ident {
19 Ident {name: 0x6789ABCD }
22 pub fn light_fuse(fld: Box<dyn bomb>) {
26 fld.boom(Ident_new()); // *** 1
32 let b = box S as Box<dyn bomb>;