2 // compile-flags: -Z mir-opt-level=4
5 #![feature(lang_items)]
9 pub struct Box<T: ?Sized>(*mut T);
11 impl<T: ?Sized> Drop for Box<T> {
18 unsafe fn box_free<T: ?Sized>(ptr: *mut T) {
23 fn dealloc<T: ?Sized>(_: *mut T) {
28 pub fn foo(a: Option<Box<Foo<usize>>>) -> usize {