rust/tests/ui/drop/auxiliary/inline_dtor.rs

9 lines
109 B
Rust

#![crate_name="inline_dtor"]
pub struct Foo;
impl Drop for Foo {
#[inline]
fn drop(&mut self) {}
}