Sign in
rust
/
rust
/
refs/heads/perf-tmp
/
.
/
tests
/
ui
/
drop
/
drop-on-empty-block-exit.rs
blob: 107ea9022f86fda6e8bf42bc56653ac783209cd3 [
file
] [
log
] [
blame
]
//@ run-pass
#![
allow
(
non_camel_case_types
)]
enum
t
{
foo
(
Box
<
isize
>),
}
pub
fn
main
()
{
let
tt
=
t
::
foo
(
Box
::
new
(
10
));
match
tt
{
t
::
foo
(
_z
)
=>
{
}
}
}