2018-08-30 14:18:55 +02:00
|
|
|
// run-pass
|
2015-03-22 13:13:15 -07:00
|
|
|
// pretty-expanded FIXME #23616
|
2018-08-31 15:02:01 +02:00
|
|
|
#![allow(non_camel_case_types)]
|
2015-03-22 13:13:15 -07:00
|
|
|
|
2015-03-25 17:06:52 -07:00
|
|
|
enum t { foo(Box<isize>), }
|
2011-06-15 11:19:50 -07:00
|
|
|
|
2013-08-17 08:37:42 -07:00
|
|
|
pub fn main() {
|
2021-08-25 02:39:40 +02:00
|
|
|
let tt = t::foo(Box::new(10));
|
2014-11-06 00:05:53 -08:00
|
|
|
match tt { t::foo(_z) => { } }
|
2013-08-17 08:37:42 -07:00
|
|
|
}
|