]>
git.proxmox.com Git - rustc.git/blob - src/tools/miri/tests/run-pass/call_drop_through_trait_object_rc.rs
5 static mut DROP_CALLED
: bool
= false;
9 unsafe { DROP_CALLED = true; }
18 let b
: Rc
<Foo
> = Rc
::new(Bar
);
19 assert
!(unsafe { !DROP_CALLED }
);
21 assert
!(unsafe { DROP_CALLED }
);