]> git.lizzy.rs Git - rust.git/blob - src/test/ui/drop/drop-on-empty-block-exit.rs
Merge commit '3ae8faff4d46ad92f194c2a4b941c3152a701b31' into clippyup
[rust.git] / src / test / ui / drop / drop-on-empty-block-exit.rs
1 // run-pass
2 // pretty-expanded FIXME #23616
3 #![allow(non_camel_case_types)]
4
5 #![feature(box_syntax)]
6
7 enum t { foo(Box<isize>), }
8
9 pub fn main() {
10     let tt = t::foo(box 10);
11     match tt { t::foo(_z) => { } }
12 }