Sign in
fuchsia
/
third_party
/
rust
/
f8ebe8d783e20c44508fab32b708f1b9d9a4bf13
/
.
/
tests
/
ui
/
consts
/
drop_none.rs
blob: 7991f119857e0ea0b8cbd1211d10ccc4b75dea2f [
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
()
{}