rust/src/test/ui/issues/issue-9243.rs
2018-12-25 21:08:33 -07:00

17 lines
248 B
Rust

// compile-pass
#![allow(dead_code)]
// Regression test for issue 9243
#![allow(non_upper_case_globals)]
pub struct Test {
mem: isize,
}
pub static g_test: Test = Test {mem: 0};
impl Drop for Test {
fn drop(&mut self) {}
}
fn main() {}