mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-18 19:43:43 +00:00
17 lines
247 B
Rust
17 lines
247 B
Rust
//@ build-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() {}
|