]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-9243.rs
Auto merge of #57108 - Mark-Simulacrum:license-remove, r=pietroalbini
[rust.git] / src / test / ui / issues / issue-9243.rs
1 // compile-pass
2 #![allow(dead_code)]
3 // Regression test for issue 9243
4 #![allow(non_upper_case_globals)]
5
6 pub struct Test {
7     mem: isize,
8 }
9
10 pub static g_test: Test = Test {mem: 0};
11
12 impl Drop for Test {
13     fn drop(&mut self) {}
14 }
15
16 fn main() {}