rust/tests/ui/issues/issue-9243.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

17 lines
246 B
Rust
Raw Normal View History

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