2019-10-29 00:00:00 +00:00
|
|
|
//@ build-pass
|
2018-09-25 23:51:35 +02:00
|
|
|
#![allow(dead_code)]
|
2015-02-04 23:04:10 -05:00
|
|
|
// Regression test for issue 9243
|
2018-08-31 15:02:01 +02:00
|
|
|
#![allow(non_upper_case_globals)]
|
2014-02-18 01:28:29 +01:00
|
|
|
|
2016-05-05 08:11:28 +03:00
|
|
|
pub struct Test {
|
2015-01-08 21:54:35 +11:00
|
|
|
mem: isize,
|
2014-02-18 01:28:29 +01:00
|
|
|
}
|
|
|
|
|
2016-05-05 08:11:28 +03:00
|
|
|
pub static g_test: Test = Test {mem: 0};
|
2014-02-18 01:28:29 +01:00
|
|
|
|
|
|
|
impl Drop for Test {
|
|
|
|
fn drop(&mut self) {}
|
|
|
|
}
|
|
|
|
|
|
|
|
fn main() {}
|