2016-09-07 03:27:57 -05:00
|
|
|
#![feature(custom_attribute, attr_literals)]
|
2017-05-26 22:27:39 -05:00
|
|
|
#![miri(memory_size=4095)]
|
2016-07-05 06:04:53 -05:00
|
|
|
|
2016-07-06 10:55:05 -05:00
|
|
|
fn main() {
|
2017-05-26 22:27:39 -05:00
|
|
|
let _x = [42; 1024];
|
|
|
|
//~^ERROR tried to allocate 4096 more bytes, but only
|
2016-07-05 06:04:53 -05:00
|
|
|
}
|