Sign in
fuchsia
/
third_party
/
rust
/
346aec9b02f3c74f3fce97fd6bda24709d220e49
/
.
/
src
/
test
/
ui
/
consts
/
drop_none.rs
blob: 9d98d3be87464c43f28344f4e6845e4d77ae9c5b [
file
] [
log
] [
blame
]
// build-pass (FIXME(62277): could be check-pass?)
#![
allow
(
dead_code
)]
struct
A
;
impl
Drop
for
A
{
fn
drop
(&
mut
self
)
{}
}
const
FOO
:
Option
<
A
>
=
None
;
const
BAR
:
()
=
(
FOO
,
()).
1
;
fn
main
()
{}