Sign in
android
/
toolchain
/
rustc
/
89a0a0cd9cbd0a0138a09bd877bbc73859a8c330
/
.
/
src
/
test
/
ui
/
drop
/
issue-17718-const-destructors.rs
blob: c9a729c7b2071d3aa44bce0ecc36eb85ad584c46 [
file
] [
log
] [
blame
]
// check-pass
#![
allow
(
dead_code
)]
struct
A
;
impl
Drop
for
A
{
fn
drop
(&
mut
self
)
{}
}
const
FOO
:
A
=
A
;
fn
main
()
{}