3 #![allow(non_camel_case_types)]
4 #![allow(non_snake_case)]
5 #![allow(deprecated)] // llvm_asm!
6 // ignore-pretty unreported
8 #![feature(box_syntax)]
10 pub trait bomb { fn boom(&self, _: Ident); }
12 impl bomb for S { fn boom(&self, _: Ident) { } }
14 pub struct Ident { name: usize }
16 // macro_rules! int3 { () => ( unsafe { llvm_asm!( "int3" ); } ) }
17 macro_rules! int3 { () => ( { } ) }
19 fn Ident_new() -> Ident {
21 Ident {name: 0x6789ABCD }
24 pub fn light_fuse(fld: Box<dyn bomb>) {
28 fld.boom(Ident_new()); // *** 1
34 let b = box S as Box<dyn bomb>;