2016-03-15 00:25:13 -05:00
|
|
|
#![feature(custom_attribute, box_syntax)]
|
2016-03-14 23:05:50 -05:00
|
|
|
#![allow(dead_code, unused_attributes)]
|
|
|
|
|
|
|
|
#[miri_run]
|
2016-03-15 00:25:13 -05:00
|
|
|
fn make_box() -> Box<(i16, i16)> {
|
|
|
|
Box::new((1, 2))
|
|
|
|
}
|
|
|
|
|
|
|
|
#[miri_run]
|
|
|
|
fn make_box_syntax() -> Box<(i16, i16)> {
|
|
|
|
box (1, 2)
|
2016-03-14 23:05:50 -05:00
|
|
|
}
|