rust/tests/compile-fail/timeout.rs
2016-07-05 13:17:40 +02:00

10 lines
195 B
Rust

//error-pattern: reached the configured maximum execution time
#![feature(custom_attribute)]
#![miri(step_limit="1000")]
fn main() {
for i in 0..1000000 {
assert!(i < 1000);
}
}