Sign in
fuchsia
/
third_party
/
github.com
/
rust-lang
/
rust
/
f97c37f8ae9a3bb9eed2d2fa812c01ac78b460fb
/
.
/
src
/
test
/
ui
/
issues
/
issue-9243.rs
blob: 59fdb466285b47a9982d4b3e9480cb69819150c6 [
file
] [
log
] [
blame
]
// 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
()
{}