2 // compile-flags: -Zhir-stats
4 // ignore-stage1 FIXME: remove after next bootstrap bump
6 // The aim here is to include at least one of every different type of top-level
7 // AST/HIR node reported by `-Zhir-stats`.
15 extern "C" { fn f(p: *mut c_void); }
18 enum E<'a, T: Copy> { A { t: T }, B(&'a u32) }
25 impl<'a, T: Copy> Go for E<'a, T> {
32 fn f2<T>(t: T) where T: Debug {}
35 let x = E::A { t: 3 };
41 unsafe { asm!("mov rdi, 1"); }